#1
|
|||
|
|||
Add hyperlinks to headlines
Hi,
I provide a document with several (<>100) keywords, each described by a short paragraph. The keywords are formated as "heading2" and consist of one word each, for example "Janitor". I need a piece of VBA that searches for the headlines in the complete document and adds a hyperlink to the matching headline. As I usually use VBA only with Access and have never used it in Word, I need some help. In the end, the document will be exported as PDF for distribution. I hope you can give me a hint. Cheers and thanks Christian |
#2
|
|||
|
|||
Sounds simple enough. Can you provide a Word document that has a couple of these keywords you're talking about, with the finished hyperlink? If you can do a couple examples manually, that will help us understand exactly what you mean.
|
#3
|
|||
|
|||
Hi BrianHoard,
I've prepared a short example. The original document is way longer and therefore it would be a nightmare to do this manually. The text paragraph of each keyword should be searched for the other keywords and if found, a hyperlink to the corresponding headline should be generated. Thank you for your support Christian |
Tags |
hyperlink headline vba |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Re-ordering pages in a text-doc according to the headlines of the page | stoobz | Word | 5 | 09-02-2022 12:24 AM |
Creating headlines(Being provided between the two codes) | bnyamin | Word VBA | 0 | 06-17-2017 08:39 AM |
Creating headlines(Being provided between the two codes) | bnyamin | Word VBA | 1 | 05-15-2017 04:47 PM |
How do i sort a document with many different headlines? | shahar | Word | 1 | 04-30-2017 06:15 AM |
Numbering hierarchy in different levels of headlines | jaybo | Word | 4 | 01-18-2011 12:42 AM |