evdbogaard
Member
- Outlook version
- Outlook 2010 32 bit
- Email Account
- Exchange Server
I'm looking for VBA code to dock the Styles Task Pane to the right side of the mail editing window.
In Word 2010 I can do this with this code:
With Application.TaskPanes(wdTaskPaneFormatting)
If .Visible = False Then .Visible = True
CommandBars("Task Pane").Position = 2 'msoBarRight
End With
But I can't figure out how to do this in Outlook 2010 VBA.
In Word 2010 I can do this with this code:
With Application.TaskPanes(wdTaskPaneFormatting)
If .Visible = False Then .Visible = True
CommandBars("Task Pane").Position = 2 'msoBarRight
End With
But I can't figure out how to do this in Outlook 2010 VBA.