Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #7  
Old 08-14-2014, 10:32 PM
macropod's Avatar
macropod macropod is offline VBA Batch Find & Replace for all MSOffice extensions, to replace File Name and Content of the File Windows 7 32bit VBA Batch Find & Replace for all MSOffice extensions, to replace File Name and Content of the File Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,467
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Quote:
Originally Posted by QA_Compliance_Advisor View Post
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.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
 

Tags
drop down lists, find & replace, vba, vba find and replace, vba script



Similar Threads
Thread Thread Starter Forum Replies Last Post
Search and replace/insert HTML code into Master File using tags dave8555 Excel 2 02-23-2014 03:51 PM
VBA Batch Find & Replace for all MSOffice extensions, to replace File Name and Content of the File How to replace this word file using wildcard zhangzujin361 Word 1 01-18-2014 08:02 PM
VBA Batch Find & Replace for all MSOffice extensions, to replace File Name and Content of the File Bad view when using Find and Find & Replace - Word places found string on top line paulkaye Word 4 12-06-2011 11:05 PM
VBA Batch Find & Replace for all MSOffice extensions, to replace File Name and Content of the File Help with find and replace or query and replace shabbaranks Excel 4 03-19-2011 08:38 AM
MS word taking over file extensions jakes Word 0 10-22-2010 01:35 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 09:25 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft