formula to display "updated" date

C

cindi

Is there a way to have a cell display the date that a
worksheet was updated (not just merely opened or printed,
but actually updated, in someway)?

Thanks,

Cindi
 
C

cindi

what does this mean? What is a UDF and how do I get
there?

Sorry for my ignorance.

Cindi
 
G

Gord Dibben

cindi

A UDF is a User Defined Function. Similar to Excel's built-in Functions but
written because Excel does not have that particular Function.

If not familiar with VBA and macros, see David McRitchie's site for more on
"getting started".

http://www.mvps.org/dmcritchie/excel/getstarted.htm

In the meantime..........

First...create a backup copy of your original workbook.

To create a General Module, hit ALT + F11 to open the Visual Basic Editor.

Hit CRTL + R to open Project Explorer.

Find your workbook/project and select it.

Right-click and Insert>Module. Paste the code in there. Save the
workbook and hit ALT + Q to return to your workbook.

Code to paste into the module............

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


In a cell enter =DOCPROPS("last save time")


Gord Dibben Excel MVP
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top