Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default filesystemobject not defined??

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?

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 14
Default filesystemobject not defined??

Perhaps your PC doesn't have the scripting files. You can download the
version for your Excel from:
http://msdn.microsoft.com/library/de...ist/webdev.asp
HTH


wrote in message
ups.com...
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?



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,119
Default filesystemobject not defined??

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.
--
HTH...

Jim Thomlinson


" wrote:

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?


  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default filesystemobject not defined??

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

Thanks alot!

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
FileSystemObject help please. DaveO Excel Programming 0 July 11th 05 08:33 AM
FileSystemObject help please. Tom Ogilvy Excel Programming 0 July 8th 05 04:44 PM
FileSystemObject help please. Bob Phillips[_7_] Excel Programming 0 July 8th 05 04:44 PM
Filesystemobject Help CyndyG Excel Programming 4 May 17th 05 01:00 AM
filesystemobject Alvin Hansen[_2_] Excel Programming 2 February 16th 05 03:47 PM


All times are GMT +1. The time now is 10:29 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"