Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 07-25-2019, 05:09 PM
Dave T Dave T is offline Format multiple paragraphs differently Windows 7 64bit Format multiple paragraphs differently Office 2013
Advanced Beginner
Format multiple paragraphs differently
 
Join Date: Nov 2014
Location: Australia
Posts: 66
Dave T is on a distinguished road
Default Format multiple paragraphs differently

Hello All,



I regularly paste several (three to four) short paragraphs of text from various other programs into a Word report and I am after a macro that will apply different manual formatting to each of the paragraphs.
The text is pasted into the Word document without any source formatting.

I have tried using:
Code:
With Selection.Paragraphs(1)
With Selection.Paragraphs(2)
With Selection.Paragraphs(3)
With Selection.Paragraphs(4)
This works OK, but formats the first paragraph of the document, not my selected paragraphs.

After I have selected the specific paragraphs within my document, I am after a macro that will apply the manual formatting to the selected 3-4 paragraphs only, wherever they may be within the document.

If what I have asked is not clear, I am happy to post my full code of what I have done so far.

Thanking you all in advance.
Dave T
Reply With Quote
 

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Changing the format/style for numbered paragraphs AND MAKING THEM STICK! FearlessStamper Word 2 10-30-2017 02:17 PM
Copying paragraphs from multiple documents to the current one. paik1002 Word VBA 3 02-22-2016 04:03 AM
Format multiple paragraphs differently VBA to set format for paragraphs that meet with specific requirements AustinBrister Word VBA 3 06-01-2015 07:00 AM
Word 2003 form fields and pasting multiple paragraphs. mwmoron Word 1 12-07-2012 11:06 PM
Format multiple paragraphs differently Find and Replace multiple lines/paragraphs jcw Word 1 11-18-2011 11:47 AM

Other Forums: Access Forums

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