Author Topic: Method to open "Edit Hyperlinks" window  (Read 71 times)

0 Members and 1 Guest are viewing this topic.

morelup

  • Newbie
  • *
  • Posts: 7
Method to open "Edit Hyperlinks" window
« on: July 12, 2019, 10:02:30 AM »
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

  • Hero Member
  • *****
  • Posts: 895
    • ShapeSheet™ Knowledge Base
Re: Method to open "Edit Hyperlinks" window
« Reply #1 on: July 12, 2019, 10:43:54 AM »
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

  • Newbie
  • *
  • Posts: 7
Re: Method to open "Edit Hyperlinks" window
« Reply #2 on: July 12, 2019, 04:48:26 PM »
nope, didn't work, read like it should have but didn't :(

wapperdude

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3481
  • Ideas Visio-lized into solutions
Re: Method to open "Edit Hyperlinks" window
« Reply #3 on: July 12, 2019, 06:02:49 PM »
Confirmed that 1030 doesn't bring up hyperlink menu.  The value 1619 appears to be the desired entry.
Visio 2019 Pro

morelup

  • Newbie
  • *
  • Posts: 7
Re: Method to open "Edit Hyperlinks" window
« Reply #4 on: July 12, 2019, 06:41:15 PM »
That did it, thank you very much for the info :)