Display "Sheet Properties" using SolidWorks macro problem

Can anybody help??

I am using the following SolidWorks macro command to show the drawing "Sheet Properties" dialog box

swApp.RunCommand swCommands_e.swCommands_Properties, ""

The problem is that it only runs once!

Does anybody know how I can get it to run more than once.

Many thanks in advance!!!

Darren

SolidworksApi/macros