![]() |
|
|||||||
|
|
Thread Tools | Display Modes |
|
#7
|
|||
|
|||
|
Mr Paul,
Now my logic has been chaged... if any text replaced is one time in document then will be red and if more then one time then that will be yellow for all..... this is in my code i think you did not see that... Your This code is working like my first logic for the red and yeallow color...and also there is some format issue in your code in my ms word line three text "probability of deletion (Pd)" Now i have apply you code in my doc VBA project.... Pelase check the attached files and run...then you will find the line three problm and color code change... and Third logic is which used in my code.... if text is Visual Basic (VBA) in MS word and i have to change Visual Basic to VBA then it will be after replace VBA (VBA) but i need only one VBA... so if it is VBA (VBA) then again should be replace by VBA only.. Then final result is VBA |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
How to "replace" a word with same word but "Italic"?
|
Jamal NUMAN | Word | 4 | 07-08-2011 04:02 AM |
How to use "if" to copy and paste data
|
tareq | Excel Programming | 13 | 01-26-2011 03:34 PM |
| Rules and Alerts: "run a script"? | discountvc | Outlook | 0 | 06-15-2010 07:36 AM |
| An "error has occurred in the script on this page" | decann | Outlook | 8 | 09-03-2009 08:54 AM |
| Saving only "DATA" on excel? No white bottom? | jrasche2003@yahoo.com | Excel | 0 | 08-07-2006 09:27 AM |