I’m trying to write a macro that will help with typesetting a book. I want to change an odd page header in a given section and get rid of the wretched ‘same as previous’.
When I record this, I get the line generated
Selection.HeaderFooter.LinkToPrevious = Not Selection.HeaderFooter. _
LinkToPrevious
But when I run the macro, I get a runtime 91 error message–object variable or block variable not set.
Can anyone suggest the code I have to put in. And/or, is there any way of overcoming Word’s defaulting to ‘Same as Previous’?
many thanks
Philip