Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Denny
 
Posts: n/a
Default How can I access/display File -> properties in a cell

How can I access and display, from within a worksheet cell, the modified date
in FIle-Properties? In Word you can insert the "Field" in the document. How
can this be done in Excel?

Thanks,
Denny
  #2   Report Post  
Bob Phillips
 
Posts: n/a
Default

You need a udf

Function DocProps(prop As String)
Aplication.Volatile
On Error GoTo err_value
DocProps = ActiveWorkbook.BuiltinDocumentProperties (prop)
Exit Function
err_value:
DocProps = CVErr(xlErrValue)
End Function


You would use like so

=DOCPROPS("last save time")


--

HTH

RP
(remove nothere from the email address if mailing direct)


"Denny" wrote in message
...
How can I access and display, from within a worksheet cell, the modified

date
in FIle-Properties? In Word you can insert the "Field" in the document.

How
can this be done in Excel?

Thanks,
Denny



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Opening a file with code without a set file name jenkinspat Excel Discussion (Misc queries) 1 March 4th 05 10:50 AM
How can you print file properties in an Excel spreadsheet? RSG Excel Discussion (Misc queries) 1 February 21st 05 08:33 PM
Extracting File Names and Properties Albacore33 Excel Worksheet Functions 3 February 10th 05 03:23 PM
Read Text File into Excel Using VBA Willie T Excel Discussion (Misc queries) 13 January 8th 05 12:37 AM
How do I show some of the file properties in a cell in a work she. Mike on the learning curve! Excel Worksheet Functions 2 December 30th 04 11:14 PM


All times are GMT +1. The time now is 02:59 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"