View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
NickHK NickHK is offline
external usenet poster
 
Posts: 4,391
Default reference to FileSystemObject

Assuming scripting is not disabled, you need add a reference
(ToolsReferences) to "Microsoft Scripting Runtime".

NickHK

"Allen_N" wrote in message
...
Excel VBA on my work PC throws errors when I try to refer to the class
'FileSystemObject' or its associated constants (such as 'WindowsFolder').

Which library is the one I need a reference to?

Thanks!