![]() |
#2
|
||||
|
||||
![]()
You were close
Code:
With Application .TaskPanes(wdTaskPaneFormatting).Visible = True .CommandBars("Styles").Position = msoBarRight .CommandBars("Styles").Width = 400 End With For some hints that explore the vba Task Pane limits, here is another link. Although it appears to have been written in 2004, Word's development tends to move at a glacial pace so it is probably still current. Word’s Task Panes VBA Reference – Content
__________________
Andrew Lockton Chrysalis Design, Melbourne Australia |
|
![]() |
||||
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 |