#1
|
|||
|
|||
Strange behavior with Word macro
The Createdate field has started misbehaving. It appears to work fine in a newly created document; I have a keyboard shortcut I have used for many years to insert it and right-align it. At some point recently, however, in older documents it began inserting the document's date of creation, so, it may actually be doing the same with new ones but just looks fine.
I have rerecorded the macro, and also tried using Insert/Field/Createdate; the result is the same. This morning I ran an online Office (365) repair, but to no avail, after two computer reboots to make sure the installation was complete. Any ideas on how to fix this? |
#2
|
|||
|
|||
Is the following of any help? It implies that Fieldnames a) 'CreateDate' and b) 'Date' work differently and a) will result in the behaviour you are having. Would using b) instead work?: -
Stopping DATE Fields from Updating when Opening a Document (Microsoft Word) |
#3
|
|||
|
|||
That's it precisely.
It has been so long since I created the macro, I don't recall the Createdate field; it seems to used to be InsertDate, but perhaps it was just Date. How the field in my macro got changed from the original is an interesting question -- or not; MS update, perhaps? I'll probably never know. Thanks for the help! |
#4
|
|||
|
|||
Using Date Fields in Microsoft Word
Quote:
The following gives you various CreateDate fields in different formats in AutoText: Legal Toolbars Add-In |
#5
|
|||
|
|||
Quote:
|
#6
|
|||
|
|||
@Ulodesk - If your issue is fixed then you can mark the thread as solved by clicking on "Thread tools" and then "Mark as solved".
|
Thread Tools | |
Display Modes | |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Strange behavior with MS Word icon | moffett | Word | 2 | 07-31-2019 03:30 PM |
Strange Behavior with a Graph in Word | RP McIntosh | Drawing and Graphics | 6 | 07-01-2019 08:29 PM |
Strange Behavior with a Graph in Word | RP McIntosh | Drawing and Graphics | 1 | 01-27-2019 05:38 PM |
Strange macro behavior in 2016 | Ulodesk | Word VBA | 5 | 04-02-2017 03:34 PM |
Pasting - strange behavior | SatControl | Word | 5 | 02-14-2010 12:57 PM |