File System Object

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi all,

I have a problem with one computer not being able to read the code below and
I was wondering what could be missing that it can't read it?

Set fs = CreateObject("Scripting.FileSystemObject")

Thanks in advance

Jason
 
Jason,
Scripting can be disabled by Admin as a security measure.
Personally, I would not use the FSO anyway, as all it's functionality is
available through inherent VB/VBA methods.
What are you using it for ?

NickHK
 
Hi NickHK

Thanks for the quick responce, I have been using the file system object to
copy file (picture and excel files) and to find the last modified date(excel
file only).

Jason
 
Jason,
VB has the same ability with:
FileCopy or Name
FileDateTime

NickHK
 

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

Back
Top