Date in Page...

  • Thread starter The Boondock Saint
  • Start date
T

The Boondock Saint

Hi guys,
Im just wondering how I can have the the time and date in a sheet....
basically im saving the sheet as a webpage.. and just want to have the time
and date it was saved included....

Hope someone can help out..

Cheers....
 
F

Frank Kabel

Hi
use the following UDF (only on workbook level):


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
=DOCPROPS("last save time")
(format cell as date)
 
T

The Boondock Saint

:) well with abit of playing around.. ive found the NOW function....

This shows the current date and time and is perfect.... im wondering is
there anyway to include this into another function.. such as the CONCATENATE
function

Cheers
 
F

Frank Kabel

Hi
try to explain what you're trying to achieve with this. Of course you could
include NOW() or TODAY() in another function. e.g.
="The vcurrent date is: " & TEXT(TODAY(),"MM/DD/YYYY")
 

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