![]() |
#1
|
|||
|
|||
![]() I have a setup macro that puts the Navigation pane on the left, at a defined width, and the Styles pane on the right, again at a preferred width, and then sets the page size. Under Office 2010, I had this working, but with the forced update (I went to 2016), I'm stuck. Nav pane up, check. Set width using: Code:
With Application.CommandBars("Navigation") .Visible = True .Width = iWidth End With Scale page zoom, no problem. Open Styles pane with: Code:
Application.TaskPanes(wdTaskPaneFormatting).Visible = True But even with several years of VBA hacking and Mansfield's fat book at hand, I can't figure out how to set the width of the Styles pane. Specific answer appreciated; some hints about how to chase the object list for "task panes" (instead of CommandBars, for example) appreciated... |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
NitroPress | Word | 5 | 11-21-2019 04:16 PM |
How to have one custom styles pane for all documents? | deazzxe | Word | 1 | 04-09-2019 05:20 AM |
Two much blank space between names of styles in the Styles Pane | PereCasanellas | Word | 0 | 10-06-2017 03:47 AM |
Using the Navigation Pane with modified styles | susandickerson | Word | 3 | 07-10-2014 08:35 PM |
Can't Display "Recently Used Styles" in Styles Pane | mwildem | Word | 2 | 05-23-2012 01:42 PM |