M
Martin
Dear experts,
is it possible to search a string in a file WITHOUT activating it, for
example using the fso-facility
Dim RefList As document
Set RefList = Documents.Open(FileName = FileName, Format:=wdOpenFormatText)
Set ContentRange = RefList.Content
StatusBar = "Searching " & sSignature
With ContentRange.Find
etc. (The example above does not work.) It would ease the operating process
of a program, if it had not to switch between the windows constantly.
Thank you
Martin
is it possible to search a string in a file WITHOUT activating it, for
example using the fso-facility
Dim RefList As document
Set RefList = Documents.Open(FileName = FileName, Format:=wdOpenFormatText)
Set ContentRange = RefList.Content
StatusBar = "Searching " & sSignature
With ContentRange.Find
etc. (The example above does not work.) It would ease the operating process
of a program, if it had not to switch between the windows constantly.
Thank you
Martin