Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #23  
Old 08-24-2011, 06:28 AM
macropod's Avatar
macropod macropod is offline automatic text formatting(justify) Windows 7 64bit automatic text formatting(justify) 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
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Automatic Formatting for whole row Bacchanal Promotions Excel 2 03-19-2011 05:12 AM
automatic text formatting(justify) Office 2007 Mail Merge Issue - automatic formatting and revisions balloons sharpie21 Office 1 10-10-2010 03:56 AM
Automatic insertion of blank pages or alternate text Diopippo Word 0 07-06-2010 12:13 AM
automatic text formatting(justify) problem with automatic formatting on quotation marks Bobosmite Word 3 05-27-2010 07:06 PM
Templates: automatic text generation from Rich Text content control Chickenmunga Word 0 10-01-2008 11:16 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 07:49 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft