Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #5  
Old 05-09-2019, 07:40 PM
Steve Kunkel Steve Kunkel is offline Can I find-and-replace text in all Quickparts at once? Windows 10 Can I find-and-replace text in all Quickparts at once? Office 2016
Advanced Beginner
Can I find-and-replace text in all Quickparts at once?
 
Join Date: May 2019
Location: Seattle area
Posts: 81
Steve Kunkel is on a distinguished road
Default

Thanks for the replies folks.

Greg your code is very cool! Clever how it steps through the different replacements. Often though, a report is built piece by piece over time. It would be laborious to to all of the replacements each time. To get a better idea of what I mean, here is a screenshot that shows the dialog which pops up when the boilerplate .docm is opened:


There's one radio button that changes three pronouns (he/him/his) and a couple of other things that minimizes the number of clicks needed.

There's a 22+ minute screencast [URL="https://www.youtube.com/watch?v=ebFeD5AKSpU&feature=youtu.be&fbclid=IwAR2e vyqMqAIbxwmIp4KnHygGqE2CSiM9J2KoVmHPFUhhjnuoj247nf mvqDs"]of it here. Though you guys probably get the gist of it just from the screenshot.

The file is here, if you want to look at the insides.

So by the time the dialog/form is closed, all of the replacements have been made. My current setup is that I just have tons of boilerplate statements in there, then I cull out the ones I don't want to use for a particular report. Instead, I'd like all of those statements stored as Quickparts. It would just be easier if all of the Quickparts had changes already made.

It's worth mentioning the "AutoText" might also work. I don't think AutoText allows tables though, which is unfortunate. I did try this code. But had problems with it.
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can I find-and-replace text in all Quickparts at once? Find and replace a text with a field eduzs Word VBA 6 02-23-2018 05:19 PM
Can I find-and-replace text in all Quickparts at once? How To find Text and replace with equation maamiradina Word 2 12-17-2016 11:08 PM
Can I find-and-replace text in all Quickparts at once? Macro to find text and replace with form field containing that text iiiiifffff Word VBA 16 06-04-2016 01:47 AM
Macro to find coloured text and replace with form-field/formtext containing that text tarktran Word VBA 1 11-26-2014 08:12 AM
Can I find-and-replace text in all Quickparts at once? Find and replace a string of text errtu Word 1 01-31-2013 02:09 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 08:38 PM.


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