Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 02-24-2015, 04:32 PM
Guessed's Avatar
Guessed Guessed is offline Insert paragraph break before images Windows 7 32bit Insert paragraph break before images Office 2010 32bit
Expert
 
Join Date: Mar 2010
Location: Canberra/Melbourne Australia
Posts: 4,176
Guessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant future
Default


Assuming the graphics are placed inline, the following macro would do it
Code:
Sub AddParasBeforeImages()
  Dim aPict As InlineShape
  For Each aPict In ActiveDocument.InlineShapes
    aPict.Range.Paragraphs(1).Range.InsertBefore vbCr
  Next aPict
End Sub
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Insert paragraph break before images keep several lines & images together without a page-break interfering lyle Word 1 02-11-2014 03:57 AM
Images disturbing paragraph shading behind younggun Word 0 10-12-2013 04:35 AM
Records paragraph break ervilhaman Mail Merge 14 04-09-2013 02:55 PM
i want to insert page break without repeat row on top gsrikanth Excel 0 05-24-2012 04:07 AM
URGENT: Mail 'Merge To New Doc' restarts paragraph numbering at each Section break JamesF Mail Merge 0 07-28-2011 07:26 AM

Other Forums: Access Forums

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