Home |
Search |
Today's Posts |
|
#1
![]() |
|||
|
|||
![]()
I would like to find a way to insert the data that is stored on the
"Properties" page of an excel document into the cell. In work and Visio I can do it easily but I can't figure out how to do it in Excel. I know, it's probably simple, but I just can't think that simple right now... thanks mark |
#2
![]() |
|||
|
|||
![]()
Mark,
You will need a UDF Function DocProps(prop As String) application.volatile On Error GoTo err_value DocProps = ActiveWorkbook.BuiltinDocumentProperties _ (prop) Exit Function err_value: DocProps = CVErr(xlErrValue) End Function and enter in a cell such as =DocProps ("last author") or =DocProps ("last save time") -- HTH RP (remove nothere from the email address if mailing direct) "Mark" wrote in message ... I would like to find a way to insert the data that is stored on the "Properties" page of an excel document into the cell. In work and Visio I can do it easily but I can't figure out how to do it in Excel. I know, it's probably simple, but I just can't think that simple right now... thanks mark |
#3
![]() |
|||
|
|||
![]()
Hi
use the following UDF: Function DocProps(prop As String) application.volatile On Error GoTo err_value DocProps = ActiveWorkbook.BuiltinDocumentProperties _ (prop) Exit Function err_value: DocProps = CVErr(xlErrValue) End Function and enter for example in a cell (to get the last modification date) =DOCPROPS("last save time") (format cell as date) -- Regards Frank Kabel Frankfurt, Germany Mark wrote: I would like to find a way to insert the data that is stored on the "Properties" page of an excel document into the cell. In work and Visio I can do it easily but I can't figure out how to do it in Excel. I know, it's probably simple, but I just can't think that simple right now... thanks mark |
#4
![]() |
|||
|
|||
![]()
Man, not I fell really stupid. I have not used VB in Excel in a while and
totaly forgot about it. Thanks. Mark "Frank Kabel" wrote: Hi use the following UDF: Function DocProps(prop As String) application.volatile On Error GoTo err_value DocProps = ActiveWorkbook.BuiltinDocumentProperties _ (prop) Exit Function err_value: DocProps = CVErr(xlErrValue) End Function and enter for example in a cell (to get the last modification date) =DOCPROPS("last save time") (format cell as date) -- Regards Frank Kabel Frankfurt, Germany Mark wrote: I would like to find a way to insert the data that is stored on the "Properties" page of an excel document into the cell. In work and Visio I can do it easily but I can't figure out how to do it in Excel. I know, it's probably simple, but I just can't think that simple right now... thanks mark |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Challenging Charting | Charts and Charting in Excel | |||
Can I insert digital signatures into an Excel cell? | Excel Discussion (Misc queries) | |||
Help, insert a word document contents into excel tab? | Excel Discussion (Misc queries) | |||
Paste rows of numbers from Word into single Excel cell | Excel Discussion (Misc queries) | |||
insert multiple page Word document into Excel | Excel Discussion (Misc queries) |