Open and Control Dialog - VBA

I am trying to open and control a dialog "Sheet Properties" dialog with VBA.  I want to set the "Next view label" and "Next datum label" programmatically.  I know there's a way to open and control a dialog.  Can you all help me with the functions for that operation?

- Dave

SolidworksApi macros