Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #3  
Old 02-25-2020, 12:05 AM
kingsinger kingsinger is offline Replacing a string from one doc to another doc Windows 10 Replacing a string from one doc to another doc Office 2013
Novice
 
Join Date: Feb 2020
Posts: 10
kingsinger is on a distinguished road
Default

It didn't throw an error when I tried it, but I'm not sure that I'm setting things up correctly or that it's doing what I'm was hoping.

I set up one file with the two column table. In column 1 I had three bracketed variables (e.g., [Test 1], [Test 2], etc.). In column 2, I put the values I want to put in place of [Test 1], [Test 2], etc. (e.g., Test 4 and Test 5).

Then in the target document I don't have a table. It's just a regular document with the bracketed variables (e.g., [Test 1]). I was expecting the macro to replace [Test 1] with Test 4. But this didn't happen. It finished and and [Test 1] was still there, as were the other original bracketed variables.

Do I have things set up wrong?

KS
Reply With Quote
 

Tags
word replacing



Similar Threads
Thread Thread Starter Forum Replies Last Post
Replacing a string from one doc to another doc Wildcard replace any string in context with a specified string wardw Word 7 05-07-2018 09:13 AM
Replacing a string from one doc to another doc How can I compare a string in a cell to another string? Amitti Word VBA 2 04-10-2017 07:35 PM
How to find all string within string. PRA007 Word VBA 18 02-12-2016 08:11 PM
Replacing a string from one doc to another doc Way to search for a string in text file, pull out everything until another string? omahadivision Excel Programming 12 11-23-2013 12:10 PM
Replacing text string within document, it's not retaining formatting livemusic Word 4 02-25-2013 12:33 AM

Other Forums: Access Forums

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