S
SettledDown
I have one machine in an office running Vista Home Premium 64-bit/SP 2 with
Office Enterprise 2007 installed. If I create a new document with a simple
macro using the following line
Set fso = CreateObject("Scripting.FileSystemObject")
I get a "File name or class name not found during Automation operation."
error. If I use the same statement in a VBS script file it works correctly,
no error. Also, when looking at the VBA reference library in Word, the path
for scrrun.dll (scripting runtime) changes, sometimes to user\documents,
other times to user\desktop and sometimes to random folders on the c: drive.
We have tried re-registering scrrun.dll and vbscript.dll. This does not help.
Does anyone have any ideas? Thanks.
Office Enterprise 2007 installed. If I create a new document with a simple
macro using the following line
Set fso = CreateObject("Scripting.FileSystemObject")
I get a "File name or class name not found during Automation operation."
error. If I use the same statement in a VBS script file it works correctly,
no error. Also, when looking at the VBA reference library in Word, the path
for scrrun.dll (scripting runtime) changes, sometimes to user\documents,
other times to user\desktop and sometimes to random folders on the c: drive.
We have tried re-registering scrrun.dll and vbscript.dll. This does not help.
Does anyone have any ideas? Thanks.