R
Robin Tucker
I've run foul of this bug advisory from Microsoft:
http://support.microsoft.com/default.aspx?scid=kb;en-us;292744
My preferred solution of the two listed is to use late binding. I have
Option Strict "On" in my source file. Regardless of this, is there any way
I can force late binding of the following method call?
Thanks for any tips you can give me (note: "myWordDocument" is a
Word.Document!).
' Find and replace section with page breaks.
myWordDocument.Range.Find.Execute( _
FindText:="^b", _
MatchCase:=True, _
MatchWholeWord:=True, _
MatchWildcards:=False, _
MatchSoundsLike:=False, _
MatchAllWordForms:=False, _
Forward:=True, _
Wrap:=Word.WdFindWrap.wdFindContinue, _
Format:=False, _
ReplaceWith:="^m", _
Replace:=Word.WdReplace.wdReplaceAll)
http://support.microsoft.com/default.aspx?scid=kb;en-us;292744
My preferred solution of the two listed is to use late binding. I have
Option Strict "On" in my source file. Regardless of this, is there any way
I can force late binding of the following method call?
Thanks for any tips you can give me (note: "myWordDocument" is a
Word.Document!).
' Find and replace section with page breaks.
myWordDocument.Range.Find.Execute( _
FindText:="^b", _
MatchCase:=True, _
MatchWholeWord:=True, _
MatchWildcards:=False, _
MatchSoundsLike:=False, _
MatchAllWordForms:=False, _
Forward:=True, _
Wrap:=Word.WdFindWrap.wdFindContinue, _
Format:=False, _
ReplaceWith:="^m", _
Replace:=Word.WdReplace.wdReplaceAll)