We have written a Class Module with Word Events to trap the DocumentOpen event and post a warning if the document contains a letterhead image that is not currant. This functionss as expected most of the time. However, on some PCs, if Word is not loaded and loads with the document at issue, the warning NEVER displays. Is there some setting that controls this?
![]() |
Patch reliability is unclear. Unless you have an immediate, pressing need to install a specific patch, don't do it. |
SIGN IN | Not a member? | REGISTER | PLUS MEMBERSHIP |
-
Application Events
Home » Forums » AskWoody support » Productivity software by function » MS Word and word processing help » Application Events
- This topic has 13 replies, 6 voices, and was last updated 8 years, 5 months ago.
AuthorTopicrichardbarrett
AskWoody LoungerOctober 28, 2016 at 1:39 pm #507405Viewing 7 reply threadsAuthorReplies-
Andrew Lockton
AskWoody_MVP -
richardbarrett
AskWoody Lounger
-
-
macropod
AskWoody_MVP -
Lugh
AskWoody_MVP -
Andrew Lockton
AskWoody_MVP
-
-
kdock
AskWoody Plus -
Andrew Lockton
AskWoody_MVPNovember 24, 2016 at 4:20 pm #1585242A sub called AutoOpen can be placed into any regular module and will automatically run when a saved document is opened.
A sub called AutoNew can be placed into any regular module and will automatically run when a new document is created either by using File>New or double clicking a template.
-
richardbarrett
AskWoody Lounger -
macropod
AskWoody_MVPNovember 30, 2016 at 5:36 pm #1585778It was my understanding that Microsoft was deprecating the “Auto” macros.
That’s true – they have been deprecated already. The real issue is whether & when MS will release a Word version that no longer supports them; deprecation doesn’t mean the functionality (which has been superceded by the Document_New, Document_Open & Document_Close macros) will be removed from any existing version. WordBasic was deprecated once Word VBA was introduced nearly 20 years ago, yet it’s still supported.
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
-
-
Charles Kenyon
AskWoody LoungerNovember 30, 2016 at 6:55 am #1585719A sub called AutoOpen can be placed into any regular module and will automatically run when a saved document is opened.
A sub called AutoNew can be placed into any regular module and will automatically run when a new document is created either by using File>New or double clicking a template.
The AutoOpen and AutoNew macros will run if place in either the normal template or the attached template for a document. They will not run in other global templates.
-
-
macropod
AskWoody_MVPNovember 24, 2016 at 5:29 pm #1585245A Document_Open sub placed in a template will act on every existing document attached to that template whenever it’s opened. A Document_New sub placed in a template will act on every new document attached to that template when the document is created.
Cheers,
Paul Edstein
[Fmr MS MVP - Word] -
Andrew Lockton
AskWoody_MVPNovember 26, 2016 at 6:27 pm #1585360Richard
I don’t know what the timeline is for removing the Auto-macros. They still work in Word 2013 and I haven’t tested in Word 2016 but I think they are still there too.
According to http://word.mvps.org/faqs/macrosvba/documentevents.htm it looks like an addin in the startup folder is no good for these macros (and the Document_ ones too). You may need to put them into Normal if you want them to operate on all documents regardless of the attached template.
-
Charles Kenyon
AskWoody LoungerNovember 30, 2016 at 7:00 am #1585720We have written a Class Module with Word Events to trap the DocumentOpen event and post a warning if the document contains a letterhead image that is not currant. This functionss as expected most of the time. However, on some PCs, if Word is not loaded and loads with the document at issue, the warning NEVER displays. Is there some setting that controls this?
You should be using templatesrather than old documents as the basis for new letters. It is possible (although not a trivial task) to keep your current letterhead in a single repository and have letter templates update to that upon the creation of a new document.
I am a lawyer, and for my purposes, using old documents as the basis for new ones runs an unnecessary risk of a breach of confidentiality.
Viewing 7 reply threads -

Plus Membership
Donations from Plus members keep this site going. You can identify the people who support AskWoody by the Plus badge on their avatars.
AskWoody Plus members not only get access to all of the contents of this site -- including Susan Bradley's frequently updated Patch Watch listing -- they also receive weekly AskWoody Plus Newsletters (formerly Windows Secrets Newsletter) and AskWoody Plus Alerts, emails when there are important breaking developments.
Get Plus!
Welcome to our unique respite from the madness.
It's easy to post questions about Windows 11, Windows 10, Win8.1, Win7, Surface, Office, or browse through our Forums. Post anonymously or register for greater privileges. Keep it civil, please: Decorous Lounge rules strictly enforced. Questions? Contact Customer Support.
Search Newsletters
Search Forums
View the Forum
Search for Topics
Recent Topics
-
You can’t handle me
by
Susan Bradley
12 minutes ago -
Chrome Can Now Change Your Weak Passwords for You
by
Alex5723
2 hours, 56 minutes ago -
Microsoft: Over 394,000 Windows PCs infected by Lumma malware, affects Chrome..
by
Alex5723
4 hours, 4 minutes ago -
Signal vs Microsoft’s Recall ; By Default, Signal Doesn’t Recall
by
Alex5723
4 hours, 15 minutes ago -
Internet Archive : This is where all of The Internet is stored
by
Alex5723
4 hours, 27 minutes ago -
iPhone 7 Plus and the iPhone 8 on Vantage list
by
Alex5723
4 hours, 33 minutes ago -
Lumma malware takedown
by
EyesOnWindows
11 hours, 46 minutes ago -
“kill switches” found in Chinese made power inverters
by
Alex5723
13 hours, 20 minutes ago -
Windows 11 – InControl vs pausing Windows updates
by
Kathy Stevens
13 hours, 14 minutes ago -
Meet Gemini in Chrome
by
Alex5723
17 hours, 20 minutes ago -
DuckDuckGo’s Duck.ai added GPT-4o mini
by
Alex5723
17 hours, 28 minutes ago -
Trump signs Take It Down Act
by
Alex5723
1 day, 1 hour ago -
Do you have a maintenance window?
by
Susan Bradley
12 hours, 36 minutes ago -
Freshly discovered bug in OpenPGP.js undermines whole point of encrypted comms
by
Nibbled To Death By Ducks
3 hours, 39 minutes ago -
Cox Communications and Charter Communications to merge
by
not so anon
1 day, 4 hours ago -
Help with WD usb driver on Windows 11
by
Tex265
1 day, 9 hours ago -
hibernate activation
by
e_belmont
1 day, 13 hours ago -
Red Hat Enterprise Linux 10 with AI assistant
by
Alex5723
1 day, 17 hours ago -
Windows 11 Insider Preview build 26200.5603 released to DEV
by
joep517
1 day, 20 hours ago -
Windows 11 Insider Preview build 26120.4151 (24H2) released to BETA
by
joep517
1 day, 20 hours ago -
Fixing Windows 24H2 failed KB5058411 install
by
Alex5723
16 hours, 40 minutes ago -
Out of band for Windows 10
by
Susan Bradley
2 days, 1 hour ago -
Giving UniGetUi a test run.
by
RetiredGeek
2 days, 8 hours ago -
Windows 11 Insider Preview Build 26100.4188 (24H2) released to Release Preview
by
joep517
2 days, 15 hours ago -
Microsoft is now putting quantum encryption in Windows builds
by
Alex5723
11 hours, 40 minutes ago -
Auto Time Zone Adjustment
by
wadeer
2 days, 20 hours ago -
To download Win 11 Pro 23H2 ISO.
by
Eddieloh
2 days, 18 hours ago -
Manage your browsing experience with Edge
by
Mary Branscombe
17 hours, 31 minutes ago -
Fewer vulnerabilities, larger updates
by
Susan Bradley
1 day, 11 hours ago -
Hobbies — There’s free software for that!
by
Deanna McElveen
11 hours, 9 minutes ago
Recent blog posts
Key Links
Want to Advertise in the free newsletter? How about a gift subscription in honor of a birthday? Send an email to sb@askwoody.com to ask how.
Mastodon profile for DefConPatch
Mastodon profile for AskWoody
Home • About • FAQ • Posts & Privacy • Forums • My Account
Register • Free Newsletter • Plus Membership • Gift Certificates • MS-DEFCON Alerts
Copyright ©2004-2025 by AskWoody Tech LLC. All Rights Reserved.