View Single Post
Old 06-29-2010, 10:40 AM   #89
st_albert
Guru
st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'
 
Posts: 698
Karma: 150000
Join Date: Feb 2010
Device: none
Oops. No joy. Upon hitting the "export" button I get an error: "Basic runtime error. Object variable not set."

The macro editor opens with a line highlighted in "function fnExportParagraph(oParagraph As Object)" as follows:

Code:
				if sLink <> "" then                     'this portion is a hyperlink 
					For i = 0 to oBMarks.Count - 1 
						sNam = oBMarks.getByIndex(I).Name 
						if InStr(sLink,sNam) > 0 then      'only internal links are recognized! 
'							sPortion = "\q=""#" & sNam & """" & sPortion & "\q" 
							exit for 
						end if 
					Next 
				end if
where the line " For i = 0 to oBMarks.Count - 1" is highlighted.
st_albert is offline