Monday, July 16, 2018

Macros are [Definition]

https://wordribbon.tips.net/T013549_Pulling_All_Hyperlinks.html looks like it would be useful someday, including this comment:

I have found this approach useful:

1. Press Alt-F9 to display field codes.
2. Press Ctrl-H to display 'Find and Replace' and go to the 'Find' tab (not 'Find and replace').
3. Type '^019 HYPERLINK' in the 'Find' box.
4. Click 'Find in', and in the dropdown list select 'Main document'. This will select all the hyperlinks in the document.
5. Copy and paste the hyperlinks into a new document.
6. Press Alt-F9 again in the new document to un-display the field codes and display the normal blue hyperlink text.

You said in your article that 'approaches that use Find and Replace copy only the link text, not the actual hyperlink', but my approach does copy the actual hyperlink. It preserves the display text and the hyperlink just like your macro, and I think it's simpler too.

Simpler indeed!! And, if there is ever a need to re-educate myself about macros, this would be a good video to watch, since I use macros pretty much ever day at work as a technical writer.



No comments: