News:

BB code in posts seems to be working again!
I haven't turned on every single tag, so please let me know if there are any that are used/needed but not activated.

Main Menu

Method to open "Edit Hyperlinks" window

Started by morelup, July 12, 2019, 03:02:30 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

morelup

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 :)

Surrogate

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

morelup

nope, didn't work, read like it should have but didn't :(

wapperdude

Confirmed that 1030 doesn't bring up hyperlink menu.  The value 1619 appears to be the desired entry.
Visio 2019 Pro

morelup

That did it, thank you very much for the info :)

Browser ID: smf (is_webkit)
Templates: 4: index (default), Display (default), GenericControls (default), GenericControls (default).
Sub templates: 6: init, html_above, body_above, main, body_below, html_below.
Language files: 4: index+Modifications.english (default), Post.english (default), Editor.english (default), Drafts.english (default).
Style sheets: 4: index.css, attachments.css, jquery.sceditor.css, responsive.css.
Hooks called: 211 (show)
Files included: 34 - 1306KB. (show)
Memory used: 1085KB.
Tokens: post-login.
Cache hits: 13: 0.00176s for 26,766 bytes (show)
Cache misses: 2: (show)
Queries used: 16.

[Show Queries]