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 cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

AutoCAD file properties in Excel 1

Status
Not open for further replies.

lamb80781

Electrical
Joined
Nov 19, 2004
Messages
4
Location
US
THANKS IN ADVANCE FOR READING THIS!!!

Hello,

I currently have an excel spreadsheet that contains hyperlinks to dwg, pdf, and doc files. Is there any way to start a column(s) that would list certain file properites, such as Date created and Date modified, where the information could be easily updated automatically (excel would obtain the file properties)? Also, is there a way to indicate in excel that a referenced file has been saved as a different file name?

Please HELP!
-John
 
investigate the "cell" and/or "info" functions within excel. use the ehelp for further aid.

as far as links to other files, try "edit" and "links". there will be a listing of all links to other files.

good luck!
-pmover
 
You can easily get at the modified date of a file, if you use the following VB function. Call it as =Filedate(A1), where the full path + filename of your file is in A1. The result is a date value, so format the cell with the formula as Date.
Code:
Function FileDate(f As String)
    FileDate = FileDateTime(f)
End Function
To get the created date is more cumbersome, have never done it.

Cheers,
Joerd

Please see FAQ731-376 for tips on how to make the best use of Eng-Tips.
 
Thanks so much. The VB code is great!, however is there any way to get the returned date to automatically update?

Thanks!!
 
usually it helps to put an Application.Volatile at the beginning of the function, just after the Function statement.

Cheers,
Joerd

Please see FAQ731-376 for tips on how to make the best use of Eng-Tips.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top