Hi all,
Trying to get this to work...
http://www.vbaexpress.com/kb/getarticle.php?kb_id=76
I'm getting this error message.
I'm lost.
Can anyone point me in the right direction?
I'm running Word 2003
Hi all,
Trying to get this to work...
http://www.vbaexpress.com/kb/getarticle.php?kb_id=76
I'm getting this error message.
I'm lost.
Can anyone point me in the right direction?
I'm running Word 2003
When you hit DEBUG, what's the line that's highlighted?
~Anne Troy
Line 57
This part is highlighted...
Set scrFso = CreateObject("scripting.filesystemobject")
Hi Gilbar,
I've tried it in 2000 and 2003 without any problems. Could it be anything to do with references? Mine are as below.
Have a look whether you can find "Microsoft Scripting Runtime" (points to System32\scrrun.dll) in your reference.
Although it does not need to be checked (since the code uses late binding), it must be present on your computer.
I believe it comes with the Windows Scripting Host, but I'm not sure about that.