Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
macro for highlighting text formatting
Hi,
I'm trying to create a macro that will automatically highlight specific text formatting, like ital, bold, etc. I find that I can get it to work when I enter something into the text field, but when I leave that field blank (which is what I want, because I want it to highlight all instances of italic) the macro will not work. Can anyone help, or do you know of a macro for this? thanks, SMW |
#2
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
macro for highlighting text formatting
The macro recorder has a bug that prevents it from recording your formatting
selections in the Find dialog. You'll have to fix it by hand. See http://word.mvps.org/FAQs/MacrosVBA/...ordedMacro.htm, in the section "Fixing broken Replace macros". -- Regards, Jay Freedman Microsoft Word MVP FAQ: http://word.mvps.org Email cannot be acknowledged; please post all follow-ups to the newsgroup so all may benefit. wrote: Hi, I'm trying to create a macro that will automatically highlight specific text formatting, like ital, bold, etc. I find that I can get it to work when I enter something into the text field, but when I leave that field blank (which is what I want, because I want it to highlight all instances of italic) the macro will not work. Can anyone help, or do you know of a macro for this? thanks, SMW |
#3
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
macro for highlighting text formatting
Jay,
Thanks for the help. What code should I enter in the VBA editor to tell it to highlight text? SMW Jay Freedman wrote: The macro recorder has a bug that prevents it from recording your formatting selections in the Find dialog. You'll have to fix it by hand. See http://word.mvps.org/FAQs/MacrosVBA/...ordedMacro.htm, in the section "Fixing broken Replace macros". -- Regards, Jay Freedman Microsoft Word MVP FAQ: http://word.mvps.org Email cannot be acknowledged; please post all follow-ups to the newsgroup so all may benefit. wrote: Hi, I'm trying to create a macro that will automatically highlight specific text formatting, like ital, bold, etc. I find that I can get it to work when I enter something into the text field, but when I leave that field blank (which is what I want, because I want it to highlight all instances of italic) the macro will not work. Can anyone help, or do you know of a macro for this? thanks, SMW |
Reply |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
manipulating/cutting/pasting text out of a text box | Microsoft Word Help | |||
autoshape text wrapping | Page Layout | |||
Macro Text on Command Button gone in email | Microsoft Word Help | |||
Word applies direct format on File open | Microsoft Word Help | |||
Outline | Page Layout |