View Single Post
 
Old 08-24-2011, 06:28 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

Quote:
Originally Posted by saints View Post
Yes i think thats working nice. But how i can make it to select all text with same format and clean up text.
Without a lot of re-coding work, that's not going to happen.
Quote:
Originally Posted by saints View Post
If i choose select style, with same format and apply the macro the macro dont work. I need more automation, any advice?
What you could do, is use either the original or modified form of the macro (depending on whether you want the code to apply to the whole document or just a selected portion) and add the following:
.Style = "Normal" (or another style name of your choice)
before:
.Format = False
which you change to:
.Format = True

That should make to code reformat only the text in the nominated Style.

PS: I've got very limited internet access ATM, and won't be able to respond to further queries for around 10 days.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote