FindAndReplace isn't finding text in header
I'm trying to create a macro to FindAndReplace text that shows up twice in my document: once in the MainDocument AND once in the HeadersAndFooters (specifically, the second-and-subsequent-page header), but I can't get Word to perform the FindAndReplace in both places.
When my document is open in PrintView, and I perform this FindAndReplace action manually, Word correctly performs the FindAndReplace in both places. But when I record the keystrokes into a macro and then run the macro, Word performs the FindAndReplace ONLY in the MainDocument, NOT in the HeadersAndFooters.
I read a post on Google that said you can choose to tell Word where to look by clicking the FindIn button on the Find tab in the FindAndReplace dialog box, and choosing either MainDocument or HeadersAndFooters.
So I tried recording a macro to perform this FindAndReplace action twice, first choosing HeadersAndFooters and second choosing MainDocument. But ALAS, when I run this new macro, it, too, performs the FindAndReplace ONLY in the MainDocument, NOT in the HeadersAndFooters.
HELP! ANY IDEAS?
|