In Excel VBA, to create a group of rows I have seen many articles which use Range.Select followed by Selection.Group. However, that convulses the UI, as the process of setting Selection actually sets Excel's visible selection.  (I guess Selection is actually Application.Selection?)
There must surely be a way to set a group without using Selection? Is there perhaps a sheet groups property to which one can add rows? Or perhaps the real question is how to create a Selection without using the visible Selection?
 
     
    