Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default Object references

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


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,549
Default Object references

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


"Don"

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


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default Object references

Many thanks Jim
donwb

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


"Don"

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




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
Comparing Object References INTP56 Excel Programming 5 August 28th 08 04:17 PM
Object Library References Fox via OfficeKB.com Excel Programming 0 May 25th 06 07:49 PM
Object Library References Nelson[_5_] Excel Programming 5 December 10th 03 08:54 PM
Object Library References Nelson[_6_] Excel Programming 1 December 10th 03 03:31 AM
Drawing object references JASon Excel Programming 2 August 28th 03 10:49 PM


All times are GMT +1. The time now is 04:53 AM.

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

About Us

"It's about Microsoft Excel"