![]() |
|
|
|
#1
|
|||
|
|||
|
Hello,
I'm looking for macro to replace data: The formula is :*^13 and the it replace the format after : Example, hello, my name is : Bill My surname is: Gates I need to have bolded Bill and Gates. Iīm doing it manualy with search and replace, I want to create a macro to do it. Thanks |
|
#2
|
||||
|
||||
|
So set the Replace attribute to bold. If you don't want the : bolded, do a second Find/Replace to remove the bold attribute from that.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
|
#3
|
|||
|
|||
|
I donīt know how to code it to be used in a macro
|
|
#4
|
||||
|
||||
|
Did you try using the macro recorder?
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
|
#5
|
|||
|
|||
|
For this porpouse is much better use some code. the macro records positions.
|
|
#6
|
||||
|
||||
|
If you record a Find/Replace, that's what the code produced by the macro recorder will reflect, not 'positions'.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
|
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Search Replace Code | BolligeA1 | Word | 8 | 02-22-2016 12:32 PM |
| Search and Replace puzzle | grantworth | Word | 3 | 04-07-2015 05:32 AM |
search and replace
|
dirkoo | Word VBA | 2 | 08-14-2013 11:25 AM |
| Search Replace Copy | dblack7211 | Word | 0 | 05-05-2010 01:19 PM |
| Search and Replace - Clear Search box | JostClan | Word | 1 | 05-04-2010 08:46 PM |