Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default NOT changing Date Modified

I have a macro that:

1) Opens a file;
2) Changes the Title, Category, Comments, etc. under Properties;
3) Saves the file, and then
4) Closes the file.

Is there some code that I can insert into this macro to keep excel from

changing the "date modified". And if so, where would it be inserted?
Before or after saving?


Thanks for your help!


Tom

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 156
Default NOT changing Date Modified

Do a search for "datelastmodified" and look through those posts, I
think that this search will get you closer to the answer. I'm not sure
if you can do it but someone out there might have found a way. I'll
keep looking on my end to see if it's possible. If you do find the
answer make sure to post it so that everyone can benefit.


Sandy

tom wrote:
I have a macro that:

1) Opens a file;
2) Changes the Title, Category, Comments, etc. under Properties;
3) Saves the file, and then
4) Closes the file.

Is there some code that I can insert into this macro to keep excel from

changing the "date modified". And if so, where would it be inserted?
Before or after saving?


Thanks for your help!


Tom


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 156
Default NOT changing Date Modified

See this post:

http://groups.google.com/group/micro...a273ad6a10a342

If the link doesn't work here search for this header

How to Change the DateLastModified property, or the CreateDate property

From: Marc B. Hankin
Date: Sat, Jan 15 2005 1:55 pm


Sandy

tom wrote:
I have a macro that:

1) Opens a file;
2) Changes the Title, Category, Comments, etc. under Properties;
3) Saves the file, and then
4) Closes the file.

Is there some code that I can insert into this macro to keep excel from

changing the "date modified". And if so, where would it be inserted?
Before or after saving?


Thanks for your help!


Tom


  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,290
Default NOT changing Date Modified

Tom,
Get the date last modified.
Change the system date to that date.
Save and close the file.
Change the system date back to current.
--
Jim Cone
San Francisco, USA
http://www.realezsites.com/bus/primitivesoftware


"tom"
wrote in message
I have a macro that:

1) Opens a file;
2) Changes the Title, Category, Comments, etc. under Properties;
3) Saves the file, and then
4) Closes the file.

Is there some code that I can insert into this macro to keep excel from
changing the "date modified". And if so, where would it be inserted?
Before or after saving?
Thanks for your help!
Tom

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
Last Date Modified snickers22 Excel Worksheet Functions 2 June 16th 09 06:11 PM
Alert user that row has been modified by changing row color jubu Excel Worksheet Functions 2 June 30th 07 12:46 AM
File Properties Modified Date not changing ALEX Excel Discussion (Misc queries) 0 February 6th 07 02:59 PM
Changing txt input into a modified orientation. Traveller New Users to Excel 1 October 26th 05 04:56 AM
Modified Date DME New Users to Excel 11 December 14th 04 07:15 PM


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