To display the Styles pane with VBA, you can use the following line of code:
Code:
Application.TaskPanes(wdTaskPaneFormatting).Visible = True
__________________
Stefan Blom
Microsoft Word MVP
Microsoft 365 apps for business
Windows 11 Professional
Last edited by Stefan Blom; 05-10-2024 at 01:58 PM.
|