View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Ivan Raiminius Ivan Raiminius is offline
external usenet poster
 
Posts: 258
Default problem with code

Hi Ana,

no, you don't need to set reference with late binding.
You need to "dim fs as object" first

Or you can set reference to "Microsoft Scripting Runtime" (early
binding), and code like this:
dim fs as scripting.filesystemobject
set fs=new scripting.filesystemobject

Regards,
Ivan