View Single Post
 
Old 04-28-2017, 05:25 AM
macropod's Avatar
macropod macropod is offline Windows 7 64bit Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,467
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

But if you're wanting to stop to add formatting - which is what you said you want to do - you will have to quit the macro every time. Sure, you could include the wildcard Find expression in a macro but: a) it won't do any better than the code Greg provided; and b) won't change the fact you'll have to stop execution to do any formatting. The only way you can automate the formatting is if it can be put into a set of rules that a macro with Word's VBA sentence limitations could apply.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote