Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VBA with Mac (excell) How do I get the creation date of a file

Status
Not open for further replies.

eyalisr

Programmer
Apr 7, 2002
10
GB
Hi,
can anyone tell me how to get the "creation date" of a file (of any type- not just the active excel document) that exists somewhere on the Mac Hard Disk using excel vba?
P.S.
I got help on how it is done on the PC - but it doesn't seem to be working on the mac

thanks,
Eyal
 
What do you have for the PC version? The VBA code is typically the same for Mac's other than the declaration of the path. For example:
Code:
'PC Path
sDataFile = "C:\Proofing\JobList.txt"

'Mac Path
sDataFile = "GUARDIAN:Desktop Folder:Proofing:JobList.txt"
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top