Re: print the date/time last edited
- From: Michelle <teacher24_70@xxxxxxxxx>
- Date: Thu, 14 Aug 2008 11:24:38 -0700 (PDT)
On Aug 14, 3:42 am, "Bob Phillips" <Bob...@xxxxxxxxxxxxx> wrote:
'-----------------------------------------------------------------
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
Bob
"Michelle" <teacher24...@xxxxxxxxx> wrote in message
news:de29caa6-96b7-4dde-9bb1-97d6187b809e@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Our school district uses Excel 2007 and the secretary uses it to keep
last rosters? Since it's the beginning of the school year, there are
constant changes in these rosters. Is it possible to place a date/
time field that would automatically change whenever the worksheet is
edited? We would like to be able to tell from the print-out how old/
recent the roster is.
Could you give me a little more direction? I'm not sure what I need
to do with the above code. I tried finding docprops in the function
menu but am not seeing it. I'm used to using Office on my Mac and the
Excel 2007 for Windows is very new to me. With a little more step-by-
step direction, I'm sure that I can figure it out. By the way, if I
add the "last edited" string in each tab, will it update only for that
tab or will the date change for all tabs (even those not edited)?
.
- Follow-Ups:
- Re: print the date/time last edited
- From: Gord Dibben
- Re: print the date/time last edited
- References:
- print the date/time last edited
- From: Michelle
- Re: print the date/time last edited
- From: Bob Phillips
- print the date/time last edited
- Prev by Date: Re: print the date/time last edited
- Next by Date: Re: print the date/time last edited
- Previous by thread: Re: print the date/time last edited
- Next by thread: Re: print the date/time last edited
- Index(es):
Relevant Pages
|