Visio Guy

Visio Discussions => Programming & Code => Topic started by: morelup on July 12, 2019, 03:02:30 PM

Title: Method to open "Edit Hyperlinks" window
Post by: morelup on July 12, 2019, 03:02:30 PM
Is there a method I could use for the EventDblClick event to open the shapes "Edit hyperlinks" dialog box (without a macro, since I don't want to have to have my users click the macro disclaimer every time they open the visio)

Thank you for any info :)
Title: Re: Method to open "Edit Hyperlinks" window
Post by: Surrogate on July 12, 2019, 03:43:54 PM
Please try Docmd(1030) - visCmdEditLinks
Just now I haven't Visio there for check my advice
Full list of docmd constants - https://docs.microsoft.com/en-us/office/vba/visio/concepts/docmd-docmd-commands
Title: Re: Method to open "Edit Hyperlinks" window
Post by: morelup on July 12, 2019, 09:48:26 PM
nope, didn't work, read like it should have but didn't :(
Title: Re: Method to open "Edit Hyperlinks" window
Post by: wapperdude on July 12, 2019, 11:02:49 PM
Confirmed that 1030 doesn't bring up hyperlink menu.  The value 1619 appears to be the desired entry.
Title: Re: Method to open "Edit Hyperlinks" window
Post by: morelup on July 12, 2019, 11:41:15 PM
That did it, thank you very much for the info :)