View Single Post
 
Old 11-23-2020, 01:35 AM
Coco86 Coco86 is offline Windows 10 Office 2019
Novice
 
Join Date: Nov 2020
Posts: 2
Coco86 is on a distinguished road
Default StyleAreaPane AutoSize

Dear guys!

I am using Microsoft 365!

Thanks to a small makro by Charley Kenyon I was already able to "autosize" my "navigation pane" (on the left side of the window), by using the script:

Sub NavigationPaneSize()

Dim iWidth As Integer
iWidth = 300 ' change to suit
With Application.CommandBars("Navigation")
.Visible = True
.Width = iWidth
End With

End Sub


Now I would like to do the same with the "Style Area Pane" (on the right side)! Would it be possible also?

Thanks in advance!

Yours, Seba
Reply With Quote