Success!
After some more searching I found this link
http://www.canaimasoft.com/f90VB/OnlineManuals/UserManual/TH_80.htm
which explains syntax of Execute on Find. The following compiles and runs correctly.
------------------------------------------
Dim args
Dim num
Set args =...
Hmmm... not really. I need to use the "Find" feature to search and replace tags in the document.
The error I get is a compile error. Could someone test this to see if they get the same error (no need to worry about arguments) and perhaps explain to me what I'm doing wrong?
Patiently...
Hi,
I'm trying to write a VB script that will search & replace stuff in a Word doc. The entire script is between the dashed lines:
------------------------------------------
Dim args
Dim num
Set args = WScript.Arguments
num = args.Count
If num < 3 Then
WScript.Echo "Usage...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.