created date on General Tab

G

Guest

Hi,

I used the following (provided by "Kjell Forssen" in another question.

Sub GetCreateDate()
If InStr(1, ActiveWorkbook.FullName, "\") = 0 Then
MsgBox "You must save the workbook first"
Exit Sub
End If
ActiveCell.Value = ActiveWorkbook.BuiltinDocumentProperties("Creation Date")
End Sub

It worked beautifully, but it shows the "created date" on the Statistics
tab. I need to show the "created date" on the General tab. It's to be used
in a template and I want the date that shows to be the date each time the
template is used and "saved-as".

Thanks for the help!
Regards,
Lynda
 
G

Guest

Thanks for such a quick response! This is the first time I'm using the
discussion group. I just want to make sure I understand correctly.

If I use "last save time", it will grab the Created date from the General
Tab? Not the Modified date?

I'll try it.

Thanks again,
Lynda
 
G

Gord Dibben

It will grab the date/time that you last saved the workbook.

It will not grab the "Date Created".

That date is fixed when you create the workbook and save first time.

Accessed and Modified can be different if you don't save after accessing.

Modified will update when you save.


Gord
 

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