I want the following macro to run automatically every time I open a document saving me from pressing alt+x a 1000 times a day to run said macro after opening a document.
Sub showFormatting()
Application.TaskPanes.Item(wdTaskPaneFormatting).Visible = True
End Sub