Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #6  
Old 04-28-2017, 05:25 AM
macropod's Avatar
macropod macropod is offline VBA, Place Sentence in its own Line Windows 7 64bit VBA, Place Sentence in its own Line Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,521
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

But if you're wanting to stop to add formatting - which is what you said you want to do - you will have to quit the macro every time. Sure, you could include the wildcard Find expression in a macro but: a) it won't do any better than the code Greg provided; and b) won't change the fact you'll have to stop execution to do any formatting. The only way you can automate the formatting is if it can be put into a set of rules that a macro with Word's VBA sentence limitations could apply.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
MS word 2007, capital letter after number (1. place turn to 1. Place) enzo321 Word 1 10-23-2016 06:19 AM
sentence/line spacing.. rynegold Word 2 11-19-2014 12:36 AM
VBA, Place Sentence in its own Line Delete does not bring second sentence closer to first sentence Andoheb Word 29 07-03-2014 01:48 PM
VBA, Place Sentence in its own Line editing a number/text at one place and changes taking place wherever it appears anurag.butoliya Word 1 06-14-2014 06:27 PM
VBA, Place Sentence in its own Line Use macro to place line style around graphic AdvanceTheMan Word VBA 1 04-20-2012 08:18 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 09:34 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