Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Tazman
 
Posts: n/a
Default How do I enter the creation date in Excel, rather than current da.


  #2   Report Post  
Gord Dibben
 
Posts: n/a
Default

Function CreaDate() As Date
CreaDate = ActiveWorkbook.BuiltinDocumentProperties("Creation date")
End Function

Usage is: =CreaDate()

OR more options....

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

Usage is:

=DocProps("last author")

=DocProps("last save time")

=DocProps("creation date")


Gord Dibben Excel MVP


On Thu, 27 Jan 2005 10:59:05 -0800, Tazman
wrote:


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
Excel 2003 FAILS, but Excel 2000 SUCCEEDS ??? Richard Excel Discussion (Misc queries) 2 May 13th 23 11:46 AM
Automatically enter date and time but only update once. PM New Users to Excel 3 January 21st 05 07:47 AM
How do I enter a date before 1900 in excel? woodrat Excel Worksheet Functions 3 January 14th 05 02:39 PM
How do I enter a date before 1900 in excel? woodrat Excel Worksheet Functions 1 January 14th 05 10:37 AM
Excel: How do I enter a date in one cell & automatically dates adj Shannon Excel Discussion (Misc queries) 4 January 12th 05 12:51 AM


All times are GMT +1. The time now is 07:18 AM.

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

About Us

"It's about Microsoft Excel"