![]() |
|
#1
|
||||
|
||||
![]() Hi friends! I want a macro to run anytime any doc is opened. I put the following in the normal.dotm: Sub document_open()But if the normal.dotm is already open in another doc it doesn't execute when I open another doc. Is there a way to get this to run without adding to every doc itself? Thank you and have a good day! Susan Flamingo |
#2
|
|||
|
|||
![]()
Put the following in a standard module of the Normal.Template.
Sub AutoOpen() 'Your code here. End Sub Note this will only work with documents that has Normal.dotm as the attached template. |
#3
|
||||
|
||||
![]()
As always work perfectly. Thnk you!!!
![]() ![]() ![]() ![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Cannot save an opened message | Tom McW | Outlook | 1 | 05-08-2019 06:44 PM |
![]() |
brap367 | Word | 1 | 12-15-2014 12:49 PM |
Help! Can't Get Macro To Work In .docx Opened Off A Website | Mhangoy | Word VBA | 0 | 08-29-2013 03:02 AM |
![]() |
starrouter | Outlook | 1 | 02-24-2013 11:29 AM |
![]() |
Wascar | Word | 1 | 03-01-2012 01:30 AM |