![]() |
|
#1
|
||||
|
||||
![]() Your terminology is not good. You are actually trying to replace a word in a range with a field/content control/bookmark. When you say you want to use this 'variable' to fill in other paragraphs - does this mean you want just the value of this variable (ie 'designated') to be replicated in other locations or that the value of this variable causes other text to change based on other parameters?
__________________
Andrew Lockton Chrysalis Design, Melbourne Australia |
#2
|
|||
|
|||
![]()
You're right, I poorly misconstructed what I'm looking for. I am trying to give the variable a value so that I can place it in new paragraphs that I'm generating that have "xxxx" within them (where I want that variable to be). I'm trying to replace the xxxx with the variable instead of just manually copying and pasting it from the original paragraph. Is that clearer?
So if the word I want is "either "Florida" or "California", and it always generates in between two words (Let's just say "of" and "State", but both are unique to the document), I want to then have my macro take whichever state it is and replace "xxxx"throughout my document with it. |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to substring and trim in excel | Mahesh G | Excel | 0 | 08-16-2016 06:03 AM |
Substring to return numbers | funkyfido | Excel | 4 | 07-22-2016 10:03 AM |
![]() |
PRA007 | Word VBA | 2 | 01-20-2016 04:22 AM |
![]() |
silverspr | Excel | 7 | 03-03-2013 04:45 PM |
![]() |
vikrantkale | Word | 1 | 03-28-2011 06:13 PM |