View Single Post
 
Old 08-18-2024, 03:56 PM
macropod's Avatar
macropod macropod is offline Windows 10 Office 2016
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

You don't really need a macro for this. A simple Find/Replace can do it.
1. Specify the find font attributes as not bold, not underlined and the replacement string as ^p.
2. Next, specify the find font attributes as bold, not underlined and the replacement string as nothing.
3. Next, specify the find font attributes as not bold, underlined and the replacement string as nothing.
4. Finally, save as a new document.

If you really want a macro you could do all the above with the macro recorder running.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote