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




-- 
ElmerS
0
ElmerS
6/4/2010 10:19:12 PM
word.docmanagement 5542 articles. 2 followers. Follow

2 Replies
931 Views

Similar Articles

[PageSpeed] 57

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
<ElmerS.64f5fd7@wordbanter.com> 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).Value = Date
>
>Is there an easy way to alter that date ?
>
>http://www.excelforum.com/excel-prog...roperties.html
>
>Thanks, Elm
0
Jay
6/5/2010 2:13:00 AM
Thank you, Jay,

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

Will use the alternative way.

Elm




-- 
ElmerS
0
ElmerS
6/5/2010 10:14:36 AM
Reply:

Similar Artilces:

message date/time altered when copying from public folder
I have noticed that if we copy mail messages from public folders to users own mailboxes, the time is off by a few minutes to a few hours. If a message arrives late at night, the copied mail may even have the next day's date. We have mail-enabled public folders, and users copy mail to their inboxes from there, but this date/time change is bothering. Do the headers contain different time stamps, and does Outlook read them differently to the Public folders? Any ideas? Jo On Sun, 1 Oct 2006 15:31:18 +0900, "Jo" <gsc@gol.com> wrote: >I have noticed that if we copy mail...

Additional Information in customer properties
Hoping someone can help here. We're using RMS with HQ and 5 stores. All customers are global. In HQ manager, when I go to try and enter info into one of the five boxes in the "Additional" tab under "Additional information" under Customer properties they are all greyed out. Is this a setup issue or an option? I think I wish I'd been around when they did set all of this up .... but I wasn't. Also, any ideas how to update my user profile info for my user name for this newsgroup? Thanks in advance as always! Skip, You have to name them first. Any additional...

Dynamic Class Property Name
I apologize in advance for the cross posting, but I'm trying to widen the set of eyes that is able to see this from microsoft.public.access.formscoding, since I haven't gotten an answer there yet. I have a requirement to essentially take the things in a column returned by a query and reorder them as rows. The rows aren't necessarily in the same order as the columns, and some require processing. Once all the rows are assembled, I need to write them all out to file. To accomplish this, I created a class with properties corresponding to each row that I need. I run the query an...

Altering font sizes
I am currently trying to resize the font throughout the whole of a Publisher document, but am having significant trouble acheiving it. Due to the nature of the document, it has well over 50 separate text boxes. I discovered recently that the document (a diagram) would have to be extended, so was intending to shrink it all slightly to fit in the extra parts. Having selected it all (Ctrl-A), grouped it, and shrinking it slightly, the text no longer fits within many of the text boxes. When i went to change the font size, all the font parts within the formatting toolbar were grayed out, a...

Altering Cursors
Hello, I have some toolbar buttons in my dialog DLL app and two of them are zoom-in and zoom-out. Is there an MFC class like CWaitCursor that can display a zoom-in/zoom-out cursor? Thank you so much. Victor. You will have to change the cursor yourself. Here is an example of the how to change cursors, load the cursor in the m_CursorHand variable: (It's a comment for how to solve a problem of another problem, but it does explain changing cursors nicely) http://www.codeguru.com/Cpp/controls/buttonctrl/comments.php/c2069/?thread=26628 AliR. "victorsk" <victorsk@discussio...

Windows Live Mail Version 2011 (Build 15.4.3002.0810) 08-23-10
I installed this vers. Yesterday and it upgraded fine. The problem is that when I get new mail it does not download the message body. I get WINDOWS LIVE MAIL HAS NOT YET DOWNLOADED THIS MESSAGE; CLICK HERE OR HIT SPACE. An email came in yesterday and I checked it this morning and it still said the same thing. It does not indicate I have new mail; the icon does not change and no sound. I have it set to notify me when there is new mal and it does not. It may just be my IMAP server AOL because I get a lot of timeout messages. If anyone has any ideas that would be great. Does Micro...

Building a Model Stock
RMS V 1.3.1006 Hi again! We need to build model stocks for our locations. I need some help understanding the Restock Point and the Reorder Level. I have searched Customer Source and the RMS Help files, and only found how to make changes, with no real description of how they function. Aside from generally understanding how they work together (or maybe not?), I also need to know if these can be changed on a per location basis. I can see that they can be input under the Attributes of an item, then issued down via a 250, but, can you also issue a 308 specific to the different locations yo...

insert a xsl:value -of into a href property
Hi, I want to insert a variable in XSL into a the href property of a anchor. What is the syntax for this??? <a href="Mypage.apsx?docID=<xsl:value-of select='docID'">Click this link</a> Is that correct? rotsey Rotsey wrote: > I want to insert a variable in XSL into a the href property of a anchor. > > What is the syntax for this??? > > <a href="Mypage.apsx?docID=<xsl:value-of select='docID'">Click this link</a> Use an attribute value template where an XPath expression is braced with {} e.g. <a hr...

Are the User Properties visible to recipients outside our company?
Using the AD Users and Computers Application we have configured some user properties, such as physical address and cell phone. Managment doesn't want this information sent to everyone outside our company, but they don't mind if internally these properties are visible to internal recipients. We are pretty sure that non-exchange mail servers do not make the user properties visible to recipients outside our company. Question: Are the user properties provided to recipients outside our company, even if they have Exchange as their mail server? Thanks -Tom Tom Celica wrote: > Us...

I Found A Very Effectiv Way To Start & Build A Strong Business Online!
Hi, Seems that a lot of people try to start a business online and just struggle by trying. I was one of them. Spending money without earning some, has never been my purpose and is of course very frustrating. Or has it been yours? I imagined that if I had the chance to find a way to make a lot of money and help others to do the same, that would just be the most incredible thing & heaven on earth. I finally found this way who shoes me new ideas nearly every day or every week on how to make it better and optimize it. What has been a big problem for me befor, was to get tons of leads and n...

alter function
Hi, using SQL2005. I want to replace a function and can't because the function is being referenced by an object. I have tried to drop it first and then create the function. This has the same error result. Is there a way to ignore any referenced object and drop a function (and then re-create it). Alternatively any way to ignore referenced object and alter a function. Any ideas or recommendations appreciated :-) Many thanks, Jonathan Hi Havv you created a UDF with SCHEMA BINDING option? "Jonathan" <Jonathan@discussions.microsoft.com> wrote in messag...

OLEobject properties at run time
Good afternon, my question is, how can I change the OLEobject properties of a textbox control at run time? any suggestions? ActiveSheet.OLEObjects("textbox1").Object.BackColor = &H8080FF is one way. User wrote: > > Good afternon, my question is, how can I change the OLEobject properties of > a textbox control at run time? > > any suggestions? -- Dave Peterson Thanks for responding, in my case I need to change the property "EnterKeyBehavior" to true, how make it? Besides, how make for viewing the diferent methods and properties that it ex...

RMS Store Ops should have a Related Items Tab in Item properties
RMS Store Ops 1.3 There should be a tab in item properties to set-up related items. This would be very useful if you're using software, like Nitrosell, to sync RMS with your webstore. ---------------- This post is a suggestion for Microsoft, and Microsoft responds to the suggestions with the most votes. To vote for this suggestion, click the "I Agree" button in the message pane. If you do not see the button, follow this link to open the suggestion in the Microsoft Web-based Newsreader and then click "I Agree" in the message pane. http://www.microsoft.com/Busine...

Add Property Management
A Property Management section or module should be added to Great Plains. In the past, we have struggled with external applications which really sell an inventory item (office square footage) to a Tenant (Customer) on a recurring basis. The external application then has to be merged to GP via journal entries every month. With a tightly integrated PM solution the square footage could be billed on a monthly basis and Leases could be maintained. Thanks ---------------- This post is a suggestion for Microsoft, and Microsoft responds to the suggestions with the most votes. To vote for thi...

Create Reports Using Classifications (such as "Properties")
I have used the Classifications feature to separate bills I receive for my home and bills I receive for my rental property. When I try to view reports for my property classification, I only get to see the last 6 months. How can I expand the report to view the entire year? I would like some tips to manipulate the data according to classifications so I can generate different types of reports. Thank you for your help. Aaron I assume you have set the date (or it defaulted to) to the last 6 months. Whn you generate the report, select customize and change the date rage. You can also s...

tabbed property pages on wizard based sheet.
I have a wizard based property sheet. There are 3 pages in it. On the 3rd page, I want to have different tabbed property pages. Is it possible? I don't understand your question. Your sheet has three tabs on it. When the third tab is active, what is it that you are wanting to do to the tabs (i.e., change their text)? "vadi" <vadiraj_br@yahoo.com> wrote in message news:1c6174f7.0310090331.17e9cb6@posting.google.com... > I have a wizard based property sheet. There are 3 pages in it. On the > 3rd page, I want to have different tabbed property pages. Is it > possibl...

Altered meeting always becomes recurring
We're on an Outlook 2007 / Exchange 2008 setup. Here's what happens: 1. Person sends a New Meeting Request for, say, Monday at 9 AM. Everything works properly and the entry appears as it should on the calendar. 2. Person later decides to change the meeting to, say, Tuesday at 10 AM. So they open the original entry on the calendar (from step #1 above) and changes the date to Tuesday and the time to 10 AM, then sends the update. 3. The meeting appears in the new location on the calendar OK but it has been changed into a recurring event. I've verified that the r...

building a website in publisher
Hi, I'm building our company website and I am not very good with publisher I need to know how to make things (logo's ect..) appear on all pages? On Sat, 29 Apr 2006 13:12:02 +0100, Elise wrote (in article <698C08A6-EF4B-468C-B763-5A4CF0DE5A2E@microsoft.com>): > Hi, > I'm building our company website and I am not very good with publisher I > need to know how to make things (logo's ect..) appear on all pages? If your company think that you - who thinks that Publisher is the best tool for web design - are in any way qualified to design a web site, then they ...

DataEntry Property
I accidentally set the data entry property by clicking records, then data entry. It was an accident. I have tried everything to get the property off and to turn it off and to display my records. I can't figure it out. I tried the whole remove/apply filter thing, but it won't work. I changed to dataentry property to no in design view and I still can't view my records. I can't even see them in datasheet view when I turn off the filter. I know they are there because they are in my tables. I need to be able to view all the records in form view because I need to be able to pr...

Build up xpath dynamically in xslt
After a bit of research I think what I'm trying to do with xslt can't be done, but someone may have some pointers. I have 2 sections in my xml - 1 with properties the 2nd with image path data each property can have more than 1 set of image path nodes What I'm trying to do is transform the property data into the format I require at the same time finding any associatted image paths Here's my xml <web_transfer> <property> <uniquereferenceid>1a</uniquereferenceid> .... </property> <property> <uniquerefe...

Setting Page properties from itself
Is there any easy way to set properties of a Page (or UserControl for that matter) from *within itself*? As an example, I have several .aspx pages which inherit from exactly the same code-behind class, but I need to be able to pass different properties to the class to make them to the correct thing. The only way I've found to do this is to create the following - which works fine, but doesn't feel right.... <script runat="server"> Private Sub Page_Init(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Init Me.MyProperty = True ...

Altering SP
Can GP stored procedures be altered. How safe is that. In general you should not alter procs created by GP. There is a possibility that the proc could be altered in a hotfix or upgrade. You may not notice that the proc has changed till much later when you find that the proc is not working as you had meant it Intead, find a way to call your own proc using vba or a trigger. HS "Asma" <asma_twinmos@hotmail.com> wrote in message news:1183294932.796908.67450@w5g2000hsg.googlegroups.com... > Can GP stored procedures be altered. How safe is that. > ...

Run Property Sheet in Dialog box
Folks, I know how to construct a CPropertySheet, add pages, and call DoModal() to show it. However, I want to create a dialog box based application and make the main window (dialog box) a property sheet. How to do that? Thanks Ming Ming Huang wrote: > Folks, > > I know how to construct a CPropertySheet, add pages, and call DoModal() to > show it. However, I want to create a dialog box based application and make > the main window (dialog box) a property sheet. How to do that? > > Thanks > > Ming In a dialog-based application the code in InitInstance creates...

Building Dynamic Case Statement
Hi All can any body help me for the following logic. Input ------- a,b output --------- case when isnull(a,0)=0 then b else a end Input ------- a,b,c output --------- case when isnull(a,0)=0 then (case when isnull(b,0)=0 then c else b end) else a end Input ------- a,b,c,d output --------- case when isnull(a,0)=0 then (case when isnull(b,0)=0 then (case when isnull(c,0)=0 then d else c end) else b end) else a end and so on..i can give input a comma separated string earlier help is highly appreciated. Regards Kalyan kalyan (kalikoi@gmail.com) wr...

How to alter Footers in Publisher and Word
I have produced pages in Publisher and Word (2003) and cannot get a printed version with the "Footers" less than 300mm from the bottom of the page. I have tried changing footer size and page size to no avail. I have also ended up with the footer showing on the screen but on printing - nothing! It looks ridiculous (to me) to have the Footer (seemingly) sitting halfway up the document. The paradox is that I can get a Header, from the very top of the page, to print??? Have you checked the limitations of your printer? -- JoAnn Paules MVP Microsoft [Publisher] "Chrise...