View Single Post
 
Old 06-05-2023, 06:14 AM
Charles Kenyon Charles Kenyon is offline Windows 11 Office 2021
Moderator
 
Join Date: Mar 2012
Location: Sun Prairie, Wisconsin
Posts: 8,900
Charles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant future
Default

When in the Document_New procedure in ThisDocument of Normal.dotm, it does not run. If the Navigation Pane was closed when Word was closed, then it does not activate the Navigation Pane. It does not activate the Styles Pane upon Word startup.

When a new document is created with Word open, it runs showing both panes and adjusting the width as set in the macro.

If in the Document_Open procedure in ThisDocument in Normal.dotm, it has no effect on Word's startup status for either pane. When a document or template is opened from Windows explorer, it has no effect. When a document is opened using File > Open from within Word, it runs.

Curiouser and curiouser! perplex.jpg


@NitroPress
I suspect you will need to have Word already open to have the macros I gave earlier work for you. Warn your users!
Reply With Quote