filesystemobject not defined??

D

djbitchpimp

I am trying to use a filesystemobject in a macro for excel. Basically I
want to open a new file, output some data to it, then close it.

The Visual Basic editor is complaining "User-defined type not defined"

I have done some research on the message boards and the commonly
suggested solution is Tools >> references >> check Microsoft Scripting
Runtime

BUT

for some reason the references option is greyed out.

Anyone have any suggestions?
 
G

Guest

This might be a silly question but is your code still executing. Ensure it is
not by Clicking the stop button in the VBE and the reference option should
become available.
 
D

djbitchpimp

Not silly at all. That is exactly what happened - I never stopped the
code from running!

Thanks alot!
 

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