Hello mslonik,

I was also trying to find a way to pop up the Selection and Visibility pane while in the process of building and grouping some shapes on screen via vba. I found your solution, but found that on first running the macro an error would occur on the first commandbars command.

I found the following suggestion by John Wilson on the StackOverflow site from 2014:

If Not CommandBars.GetPressedMso("SelectionPane") Then CommandBars.ExecuteMso("SelectionPane")

This seemed to cure the first run failures.

Dave