Macro that invokes PDM Workgroup Checkin Dialog Box

I am trying to find out whether it is possible to generate amacro that would check a variable on my drawing on then the endstep would invoke the existing pdm workgroup checkin (activedocument) dialog box instead of requiring me to design my owndialog box.

Is this possible?

Thank you!SolidworksApi macros