Thread: [Solved] Formatting with macros
View Single Post
 
Old 05-13-2012, 02:53 PM
macropod's Avatar
macropod macropod is offline Windows 7 64bit Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,512
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

Hi Walt,

Did you try the macro in the link I posted?

The macro you posted looks like it's only one of a series you're using for your reformatting. Aside from the fact that it has a lot of redundant code (if you look at the macro code in the link I posted you can see how much it can be simplified), the reason you're getting the prompts is that your code has '.Wrap = wdFindAsk' (three times). If you change that to '.Wrap = wdFindStop', it'll simply stop searching at the end of whatever's selected. Alternatively, if you change it to '.Wrap = wdFindContinue', it will continue without asking.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote