|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Macro to create a title in the Header when a certain text style is used (such as Heading 1)
I am creating a word document and would like a title to appear in the header of each page. I would like this title to change according to the headings that are applied within the main part of the page. I wanted the title to be linked to the format/style of the Heading 1 in my style list but I am having trouble making it work. Has anyone done this before and can they help???
|
#2
|
|||
|
|||
Have you tried a StyleRef field {StyleRef "Heading 1"}
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Tab character causes style change to Heading 4 after macro | Jennifer Murphy | Word VBA | 2 | 12-14-2015 02:31 AM |
Macro to add title in header is missing text once macro is run | shawnee24 | Excel Programming | 1 | 05-27-2015 11:50 PM |
Macro to add title in header is missing text once macro is run | shawnee24 | Word VBA | 3 | 05-27-2015 12:35 PM |
Create and save custom heading style | ubns | Word | 3 | 08-01-2012 09:42 PM |
How to create macro to paste text after style? | Srivas | Word | 0 | 03-16-2010 05:28 AM |