Object references

D

Don

Office 2003

I have the following Excel code snippet in a macro
which did run fine until I had to do a major reinstallation.
Now it hangs on the fs= bit with the error message
Compile Error. Can't find the Project or Library.
I believe I'm missing a Reference under Tools/Reference,
but have no idea which one(s).
Can anyone help?

Set fs = CreateObject("Scripting.FileSystemObject")

donwb
 
J

Jim Cone

The reference you need is "Microsoft Scripting Runtime"
--
Jim Cone
Portland, Oregon USA


"Don"
<[email protected]>
wrote in message
Office 2003
I have the following Excel code snippet in a macro
which did run fine until I had to do a major reinstallation.
Now it hangs on the fs= bit with the error message
Compile Error. Can't find the Project or Library.
I believe I'm missing a Reference under Tools/Reference,
but have no idea which one(s).
Can anyone help?

Set fs = CreateObject("Scripting.FileSystemObject")

donwb
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top