Hopefully I'm overlooking a simple fix?
This simple find/replace script has hit a wrench: the script I'm using to find/replace the header/footer does not target the first page header/footer.
Any insights? Here's what I'm working with currently:
;Find/replace for new product name in the body of the document ;Selects the header and finds/replaces there too $count_sections=$oDoc.Sections.Count() ; select one header section ; replace in header ; select one footer section ; replace in footer ; restore print layout view $oDoc.Activewindow.View.Type = 6