File Creation Date

G

Guest

I need access to the File Creation Date in my Excel Sheet. Excel
ActiveWorkbook.BuiltinDocumentProperties gives access to a "creation date"
but this date is the one under >Properties>Staticstics and does not match the
date under >Properties>General. The General Creation Date is the actual File
Creation Date. The Statistics Creation Date is the first Worksheet Creation
Date. I need the File Creation Date!
Any suggestions?
 
G

Guest

The date in statistics is the creation date and the one in general is the
date the file was first saved to your own computer so frequently they wiil be
different. The statement below will return the creation date.

Sub creationdate()
MsgBox ActiveWorkbook.BuiltinDocumentProperties.Item _
("Creation date").Value
End Sub

If you want the date from the general tab (and I've never seen a date
earlier than the one is statistics) then it's a vba routine you need and
there are a couple here.

http://j-walk.com/ss/excel/tips/tip57.htm
 

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