ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   File System Object (https://www.excelbanter.com/excel-programming/371741-file-system-object.html)

Jason Zischke

File System Object
 
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

NickHK

File System Object
 
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

"Jason Zischke" wrote in message
...
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 Zischke

File System Object
 
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

"NickHK" wrote:

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

"Jason Zischke" wrote in message
...
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





NickHK

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

NickHK

"Jason Zischke" wrote in message
...
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

"NickHK" wrote:

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

"Jason Zischke" wrote in

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








All times are GMT +1. The time now is 01:14 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com