Make Styles and Formatting Task Pane Visible

K

Karin

I want to put a line in the auto open macro that will turn on the styles &
formatting task pane. This gets me the task pane:
CommandBars("Task pane").Visible = True
but I can't figure out how to specifically get the styles and formatting pane.
Thank you.
 
J

Jay Freedman

The line you need is

Application.TaskPanes(wdTaskPaneFormatting).Visible = True

--
Regards,
Jay Freedman
Microsoft Word MVP
Email cannot be acknowledged; please post all follow-ups to the
newsgroup so all may benefit.
 
Top