Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 152
Default Can't get correct Workbook Create date from VBA

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

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 897
Default Can't get correct Workbook Create date from VBA

This might help:

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


HTH,
JP

On Mar 19, 2:59*pm, MikeZz 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
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
Date(Year,Month,Day) not returnign correct date jlclyde Excel Discussion (Misc queries) 8 October 16th 09 02:42 PM
How do I create a CORRECT histogram? Brian Chisholm Charts and Charting in Excel 1 April 21st 08 02:18 PM
Find date, create new workbook, copy lines with same dates in column H littleme Excel Programming 2 August 23rd 07 05:07 PM
Workbook Create Date fx clowns Excel Worksheet Functions 0 July 18th 06 10:05 PM


All times are GMT +1. The time now is 08:36 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"