Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 05-31-2015, 08:39 AM
AustinBrister AustinBrister is offline VBA to set format for paragraphs that meet with specific requirements Windows 7 64bit VBA to set format for paragraphs that meet with specific requirements Office 2013
Novice
VBA to set format for paragraphs that meet with specific requirements
 
Join Date: May 2015
Posts: 16
AustinBrister is on a distinguished road
Default VBA to set format for paragraphs that meet with specific requirements

I need a VBA that will go through all the selected text, and nothing more, and analyze each paragraph, then set each of those paragraphs that match ANY of the following conditions, to the style "Quote":
  1. Begins with " and contains no other " within the paragraph
  2. Begins with " AND ends with " AND there are no other " within the paragraph
  3. is already indented at least 0.4" or more on the left and 0.4" or more on the right

Any tips?



Thanks in advance!
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
VBA to set format for paragraphs that meet with specific requirements Macro to Insert text into the beginning on specific paragraphs unless the paragraph is blank caboy Word VBA 2 04-01-2015 07:00 AM
VBA to set format for paragraphs that meet with specific requirements Exporting from excel into a specific format Bambi555 Excel 2 09-22-2014 08:08 AM
VBA to set format for paragraphs that meet with specific requirements Inputting a number into word in a specific format Jo 4x4 Word 7 07-19-2014 12:45 AM
VBA to set format for paragraphs that meet with specific requirements Applying specific format to doc jrodriguez Word 3 07-23-2012 08:38 PM
How to count cells containing data and meet certain criteria AdamNT Excel 1 08-11-2006 11:51 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 01:50 AM.


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