PC Review


Reply
Thread Tools Rate Thread

Can't get correct Workbook Create date from VBA

 
 
MikeZz
Guest
Posts: n/a
 
      19th Mar 2008
Hi,
I'm trying to get the correct file creation date from an open,active excel
workbook.

When I go to File\Properties\General tab, it shows it was created March 18,
2008.
When I go to File\Properties\Statistics tab, it shows it was created October
14, 1996.

When I use this command:
fileDate = ActiveWorkbook.BuiltinDocumentProperties(11)

I get this result:
"10/14/1996 7:33:28 PM"

I am really trying to get the date on the General Tab.
So I'm really stumped as to what's going on.

Any ideas?

Thanks MikeZz

 
Reply With Quote
 
 
 
 
JP
Guest
Posts: n/a
 
      19th Mar 2008
This might help:

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


HTH,
JP

On Mar 19, 2:59*pm, MikeZz <Mik...@discussions.microsoft.com> wrote:
> Hi,
> I'm trying to get the correct file creation date from an open,active excel
> workbook.
>
> When I go to File\Properties\General tab, it shows it was created March 18,
> 2008.
> When I go to File\Properties\Statistics tab, it shows it was created October
> 14, 1996.
>
> When I use this command:
> fileDate = ActiveWorkbook.BuiltinDocumentProperties(11)
>
> I get this result:
> "10/14/1996 *7:33:28 PM"
>
> I am really trying to get the date on the General Tab.
> So I'm really stumped as to what's going on.
>
> Any ideas?
>
> Thanks MikeZz


 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Find date, create new workbook, copy lines with same dates in column H littleme Microsoft Excel Programming 2 23rd Aug 2007 05:07 PM
How to display create date for the workbook in a cell. geniusideas Microsoft Excel Programming 1 1st Mar 2007 11:26 AM
Workbook Create Date fx =?Utf-8?B?Y2xvd25z?= Microsoft Excel Worksheet Functions 0 18th Jul 2006 10:05 PM
Correct date preview correct but printed as #Name? =?Utf-8?B?UnVpIFNhbnRvcw==?= Microsoft Access Reports 1 16th Nov 2004 02:31 PM
Track change Author/Date popup shows US date format not correct regional set Wayne Zaunders Microsoft Word New Users 1 23rd May 2004 11:57 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:58 PM.