Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 11-01-2023, 11:00 PM
nathananaru nathananaru is offline How can I write VBA code to 'reset' a word document to a former state? Windows 10 How can I write VBA code to 'reset' a word document to a former state? Office 2021
Novice
How can I write VBA code to 'reset' a word document to a former state?
 
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
 

Tags
help a novice, vba



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to write or change text inside a rectangle in word document tech21 Word 5 01-17-2023 12:39 PM
How can I write VBA code to 'reset' a word document to a former state? Reset Word Document Bookmark Values hkrawick@gmail.com Word VBA 5 07-29-2022 05:48 PM
How to write a macro to count the number of lines between the start of a Word document to where the soroush.kalantari Word VBA 3 08-08-2021 09:23 PM
Word document with VBA and Form Fields reset when select File,Print fatal.lordes Word VBA 9 04-27-2018 11:30 PM
How can I write VBA code to 'reset' a word document to a former state? Reset Word Document gaafar.dafalla@illinois.g Word 1 12-01-2015 04:39 PM

Other Forums: Access Forums

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