A Microsoft Word forum. Microsoft Office Word Forum - WordBanter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Microsoft Office Word Forum - WordBanter forum » Microsoft Word Newsgroups » Microsoft Word Help
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Alter build-in properties



 
 
Thread Tools Display Modes
  #1  
Old June 4th 10, 11:19 PM
ElmerS ElmerS is offline
Junior Member
 
First recorded activity by WordBanter: Jun 2010
Posts: 0
Default [SOLVED] Alter build-in properties

Hi,

I saw the following thread and thought it can be adopted also for altering the Creation Date of a "Word" Document.

I tried to run the suggested commands, in the Immediate window (after replacing ActiveWorkbook with ActiveDocument).

Unfortunately, the creation date was not changed - not even with the simple "Excel like" command:

ActiveDocument.BuiltinDocumentProperties(11).Value = Date

Is there an easy way to alter that date ?

http://www.excelforum.com/excel-prog...roperties.html

Thanks, Elm

Last edited by ElmerS : June 5th 10 at 11:16 AM.
Ads
  #2  
Old June 5th 10, 03:13 AM posted to microsoft.public.word.docmanagement
Jay Freedman
external usenet poster
 
Posts: 9,855
Default Alter build-in properties

Hi Elmer,

Sorry, what works for Excel does not work for Word.

The help topic on the BuiltInDocumentProperties collection for Excel
VBA says that its members are read-only, but that isn't true. You can
write to at least some of those properties and actually change their
values; "Creation Date" is one of those.

The BuiltInDocumentProperties items in Word really are read-only. You
won't get an error if you try to write to them, but there is no way --
not easy, not hard, NO way -- to alter them via VBA.

The one thing you can do to change the creation date is to use SaveAs
to save the document to another name; then delete the original file
and rename the new one to the old name. The creation date will be the
date of the SaveAs. If you don't want it to be the current date,
temporarily change the computer's clock.

--
Regards,
Jay Freedman
Microsoft Word MVP FAQ: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the
newsgroup so all may benefit.


On Fri, 4 Jun 2010 23:19:12 +0100, ElmerS
wrote:


Hi,

I saw the following thread and thought it can be adopted also for
altering the Creation Date of a "Word" Document.

I tried to run the suggested commands, in the Immediate window (after
replacing ActiveWorkbook with ActiveDocument).

Unfortunately, the creation date was not changed - not even with the
simple "Excel like" command:

ActiveDocument.BuiltinDocumentProperties(11).Valu e = Date

Is there an easy way to alter that date ?

http://www.excelforum.com/excel-prog...roperties.html

Thanks, Elm

  #3  
Old June 5th 10, 03:13 AM posted to microsoft.public.word.docmanagement
Jay Freedman
external usenet poster
 
Posts: 9,855
Default Alter build-in properties

Hi Elmer,

Sorry, what works for Excel does not work for Word.

The help topic on the BuiltInDocumentProperties collection for Excel
VBA says that its members are read-only, but that isn't true. You can
write to at least some of those properties and actually change their
values; "Creation Date" is one of those.

The BuiltInDocumentProperties items in Word really are read-only. You
won't get an error if you try to write to them, but there is no way --
not easy, not hard, NO way -- to alter them via VBA.

The one thing you can do to change the creation date is to use SaveAs
to save the document to another name; then delete the original file
and rename the new one to the old name. The creation date will be the
date of the SaveAs. If you don't want it to be the current date,
temporarily change the computer's clock.

--
Regards,
Jay Freedman
Microsoft Word MVP FAQ: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the
newsgroup so all may benefit.


On Fri, 4 Jun 2010 23:19:12 +0100, ElmerS
wrote:


Hi,

I saw the following thread and thought it can be adopted also for
altering the Creation Date of a "Word" Document.

I tried to run the suggested commands, in the Immediate window (after
replacing ActiveWorkbook with ActiveDocument).

Unfortunately, the creation date was not changed - not even with the
simple "Excel like" command:

ActiveDocument.BuiltinDocumentProperties(11).Valu e = Date

Is there an easy way to alter that date ?

http://www.excelforum.com/excel-prog...roperties.html

Thanks, Elm

  #4  
Old June 5th 10, 11:14 AM
ElmerS ElmerS is offline
Junior Member
 
First recorded activity by WordBanter: Jun 2010
Posts: 0
Default

Thank you, Jay,

Although it is Very "Disappointing" at least I have got an educated answer.

Will use the alternative way.

Elm
 




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Advanced Document Properties to Standard Properties Window? TychaBrahe Microsoft Word Help 1 April 3rd 08 12:25 AM
I need to edit the document properties after properties creation. Jed Microsoft Word Help 3 October 7th 07 12:17 AM
how to alter 2.0 text into 1.5 ? Maureen Microsoft Word Help 1 November 17th 06 04:56 AM
How do I alter or remove the properties statistics (create, modif. Need-To-KNOW Microsoft Word Help 1 March 31st 05 06:38 AM
Can I alter a scanned document? sweets420____ Microsoft Word Help 1 February 3rd 05 12:48 AM


All times are GMT +1. The time now is 05:53 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.
Copyright 2004-2021 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.