B
bstobart
I'm using the following command to popup a menu bar in MS-Project when the
user makes a certain type of change to a task:
Application.CommandBars("MyMenuBar").ShowPopup
I'm leveraging the ProjectBeforeTaskChange event.
Because the Planning Wizard typically pops up before my macro runs, the
cursor is often far from the original task when my menu pops up. I'd like
the menu to popup close to the currently selected field of the task. I see
that the ShowPopup command takes two arguments (x,y) for the position of the
popup menu. How can I set these two values such that the menu appears close
to the currently selected task field?
user makes a certain type of change to a task:
Application.CommandBars("MyMenuBar").ShowPopup
I'm leveraging the ProjectBeforeTaskChange event.
Because the Planning Wizard typically pops up before my macro runs, the
cursor is often far from the original task when my menu pops up. I'd like
the menu to popup close to the currently selected field of the task. I see
that the ShowPopup command takes two arguments (x,y) for the position of the
popup menu. How can I set these two values such that the menu appears close
to the currently selected task field?