![]() |
|
#1
|
||||
|
||||
![]() You don't need a macro for that - it can be done using just Find/Replace. If you want, though, you could use the macro recorder to record the Find/Replace process as a macro.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
#2
|
|||
|
|||
![]()
Hi,
Thanks for your response and apologies for the delay. The reason I wanted the macro is because the word(s) appear multiple times throughout the document and I want them to be a different style the first time they appear under a specific style but not all the times they appear. I am already doing this using find and replace but it takes a while to see if it is the first time it appears under a specific style. I am now thinking that it may be easier to continue to use find and replace for the process itself and then use a macro as a control to check that the text has only been selected once under a particular style. Are you aware if there is a macro I could run to find all instances of a particular style (the styles will be character text rather than paragraph text) under another particular style (which will be a paragraph style) throughout a document? Thanks |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Macro Needed to bold specific lines and Macro to turn into CSV | anewteacher | Word VBA | 1 | 05-28-2014 03:59 PM |
![]() |
BlueClearSky | Word | 6 | 11-22-2013 03:34 PM |
![]() |
OldGrantonian | Word | 4 | 05-18-2011 06:35 AM |
![]() |
zsmithku | Word | 1 | 04-15-2011 03:46 PM |
Why can't I change certain styles back to normal? | SuperHans | Word | 1 | 10-16-2009 03:57 AM |