View Single Post
 
Old 11-01-2023, 11:00 PM
nathananaru nathananaru is offline Windows 10 Office 2021
Novice
 
Join Date: Nov 2023
Posts: 3
nathananaru is on a distinguished road
Post How can I write VBA code to 'reset' a word document to a former state?

Hello everyone,

I am new to VBA and I have a problem I am trying to solve

I have a form which has sections that need to be constantly replaced and then reset.

An example of this would be:

"this [item] is [colour] and weighs [weight]"

which would become

"this house is blue and weighs 1g"

How do I make a function which will revert "this house is blue and weighs 1g" back to "this [item] is [colour] and weighs [weight]" ?

Hope that makes sense, any help is much appreciated!
Reply With Quote