View Single Post
 
Old 03-24-2018, 03:37 AM
macropod's Avatar
macropod macropod is offline Windows 7 64bit 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 sarah2020 View Post
I’ve no background on vba at all. But I would love to know how to do the above vba code with find/replace. I faced this similar problem a lot ! Would highly appreciate it
Find/Replace macros are usually required to handle very specific requirements that can't easily be handled by other means. See, for example, the Cleaning up Text Pasted from Websites, E-mails, PDFs etc. 'Sticky' thread at the top of this forum: https://www.msofficeforums.com/word/...s-e-mails.html. Although that is fairly generic, something so generic can't easily be adapted to situations such as yours. That said, there are many Find/Replace macros you could find by trawling through our Word VBA forum: https://www.msofficeforums.com/word-vba/. You might get some useful ideas from them.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote