Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 12-27-2015, 03:21 AM
Thefirstfish` Thefirstfish` is offline Macro to replace text and track changes based on user-defined rules Windows 10 Macro to replace text and track changes based on user-defined rules Office 2016
Novice
Macro to replace text and track changes based on user-defined rules
 
Join Date: Dec 2015
Posts: 11
Thefirstfish` is on a distinguished road
Default Macro to replace text and track changes based on user-defined rules

Dear all,

I am completely new to VBA, but I use Word to edit large technical documents daily using Track Changes. The aim is partly to produce a consistent style among the documents.

As a result, I end up making similar changes to multiple documents daily.

To improve my productivity, I would like to be able to define rules, for example "for the whole word CO2, subscript the 2" and have a macro apply those changes to the documents I'm working on.

In my workflow, I would run this macro first, before making any other changes. I would need the changes to be tracked as if I had made them manually. I would need to be able to create, save, and reload multiple rule sets, each containing a large number of rules, and some of the rules within each set would be quite complex.

An example of a more complex rule is "when there are two words in italics, and the first of those words is capitalized (Example here), for subsequent instances of the same two words (but not for the first instance in the document), shorten the first word to the initial letter (E. here)".

I'm looking for advice. My questions are:

1. Is there an existing program, add-in, or macro that can perform these types of operations?

2. If not, would it be very difficult to design such a macro?

Apologies if this is a question that has been asked before. I was unable to find anything similar on Google or using the forum search function.

Any help is much appreciated.



Best wishes,

Chris
Reply With Quote
 

Tags
editing, macro, tracked changes

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Macro to replace text and track changes based on user-defined rules FileSystemObject Compile Error: User-Defined Type Not Defined gsrikanth Excel Programming 2 03-28-2022 06:32 AM
User Defined Fields daveybops Outlook 1 05-06-2014 10:25 AM
Macro to replace text and track changes based on user-defined rules Word VBA Macro to Find and Replace based on the Alt Text of an Image bennymc Word VBA 1 01-27-2014 04:23 PM
Macro to replace text and track changes based on user-defined rules User-defined Type not Defined VBA Issue OTPM Project 3 01-02-2014 01:47 PM
Macro to replace text and track changes based on user-defined rules Change standard highlight text color to user defined Scott Duffens Word 2 06-18-2012 03:53 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 01:15 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