![]() |
#1
|
|||
|
|||
![]()
Hi, when I create a New Word document from the Normal Template it does not automatically fire this macro. AutoExec - doesn't work because the Application is not open. Does anyone know how to make it work automatically without playing the macro?
Module AutoNew Sub Main() 'StylePane Open With Application .TaskPanes(wdTaskPaneFormatting).Visible = True .CommandBars("Styles").Position = msoBarRight .CommandBars("Styles").Width = 300 End With ' ActiveWindow.DocumentMap = False End Sub |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Problem with attaching template in AutoNew sub | jmasiak | Word VBA | 4 | 09-25-2020 08:07 AM |
![]() |
ksor | Word | 7 | 04-01-2018 05:10 PM |
![]() |
John9210 | Word | 13 | 02-12-2018 07:50 AM |
Auto-update field codes in Outlook Template - AutoOpen Macro not working | victoriasun | Outlook | 5 | 12-22-2015 01:54 AM |
Macro to open template not working | Brandi | Mail Merge | 2 | 06-24-2010 09:29 AM |