Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Shape OnClick Event?

Status
Not open for further replies.

TheInsider

Programmer
Jul 17, 2000
796
CA
Hi,

I created a VBA form that I want to pop up whenever a shape is clicked on. This VBA form also has a public property (strNameU), so I can pass the form the NameU (the unique name) of the shape that is being clicked on

i.e.
Code:
    frmOptions.Show
    frmOptions.strNameU = ""
Unfortunately, there doesn't seem to be a VBA event like Shape_OnClick() in Visio, and setting =RUNADDON("frmOptions.Show") in the ShapeSheet Events cell doesn't do anything.

Is this possible? If so, how?

TIA!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top