AutoNew macro not working in Normal template
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
|