Quote:
Originally Posted by QA_Compliance_Advisor
when doing a find and replace - is there a solution for the following
(1) can I do the same with text in headers & footers replace text?
(2) can I replace pictures/ graphic in a header?
|
there are plenty of code samples on this board for doing F/R in headers & footers. See, for example:
https://www.msofficeforums.com/word-...html#post63175
As for replacing a picture/graphic, that can't be done with Find/Replace - you'd need to work with the Shapes, ShapeRange or InlineShapes collection. And, if there are multiple pictures/graphics in the range of interest, you have to include the logic for how the one of interest is to be identified.