![]() |
|
#1
|
||||
|
||||
![]()
Hi netchie,
In your initial post, you indicated that you're trying to process the contents of a table. In that case, all the code for processing storyranges is superfluous. Furthermore, even within whatever range contains the table, your code doesn't restrict itself to the table - it will happily change text outside it as well. As for problems like Restricted > Restrictedd, that's because you haven't told Word to match whole words only. PS: When posting code, please use the code tags. They're on the 'Go Advanced' tab.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
#2
|
|||
|
|||
![]()
Hi macropod
![]() The problem that I am having is after generating a report, some of the words are not complete. So instead of going through them one by one, I am trying to create a macro to change them automatically but the problem is I don't know how to put each word and replace them. As you can see below, the one that I found is just changing one word. How and where can I insert on VBA another word to replace? or if there is a VBA where if I highlight the word and use the macro then it will be changed to the word I want? |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
search on multiple word documents | Guy Roth | Word | 7 | 03-06-2017 01:31 PM |
![]() |
gbrucken | Word | 1 | 04-30-2012 10:40 AM |
![]() |
antaeusguy | Word | 1 | 03-14-2012 04:01 AM |
![]() |
anano | Word | 1 | 01-11-2012 09:03 AM |
Search Problems in MS Word | LoganB | Word | 0 | 09-03-2010 06:49 AM |