#1
|
|||
|
|||
VBA/Macro & Allowing Multiple Hyperlinks Per Character/Word
I really hope someone can help me figure this out.
Things can easily be turned into hyperlinks in word. My goal is to be able to set a second hyperlink (reference) destination for each word. So that I can toggle between the two types of links with some hotkey. So for example: when you click THIS it goes to google. I want to be able to hold shift, and make it so that instead it goes to some other page. It seems to me that this issue can be broken into two problems/questions: 1) How to store two href values on a single character/word. 2) How to toggle between the default and secondary value. Any advice or pushes in the right direction would be hugely appreciated. |
#2
|
||||
|
||||
I don't think you can do this without a macro. You can use a macrobutton field to run a generic macro and include the modifier key handler in that macro. A macrobutton field means you need to double-click the entry rather than (Ctrl+)Click the hyperlink. You will also need to ensure that macros can run in the file.
Probably the easiest way to manage the the two hyperlink addresses is to bookmark the macrobutton and have the macro marry up the bookmark name with the two path possibilities.
__________________
Andrew Lockton Chrysalis Design, Melbourne Australia |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Converting multiple Word files to PDF retaining hyperlinks | jannus | Word | 4 | 03-01-2013 04:11 AM |
Why does Word separate table and reference endnotes by allowing text to go in between | newby2013 | Word Tables | 2 | 12-31-2012 03:45 PM |
remove multiple hyperlinks | jwallace113 | Word | 5 | 03-31-2012 05:48 AM |
Insert Multiple hyperlinks to word repeated in doc - easily | synses | Word | 8 | 02-24-2012 05:17 AM |
*Word 2007 Macro for Character Count | gbartlet | Word | 0 | 07-21-2010 11:12 AM |