Obtain a File attribute

  • Thread starter Thread starter Burt Rosner
  • Start date Start date
B

Burt Rosner

Dear Anyone that may help,

Is there a VBA statement that would capture an Attribute
of a file? I would like to capture the Modified date of a
file (i.e. MyTextFile.txt).

I can bring in the file and work with its content. I
would also like to bring in the date the file was created.

Thanks in advance for your help.

Burt
 
Burt Rosner said:
Dear Anyone that may help,

Is there a VBA statement that would capture an Attribute
of a file? I would like to capture the Modified date of a
file (i.e. MyTextFile.txt).

I can bring in the file and work with its content. I
would also like to bring in the date the file was created.

Check out the FileDateTime function in the online help (in the VB Editor
environment).
 
Back
Top