Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 10-20-2020, 06:27 AM
John 4 John 4 is offline Insert a Paragraph mark before and after a table Windows 10 Insert a Paragraph mark before and after a table Office 2013
Advanced Beginner
Insert a Paragraph mark before and after a table
 
Join Date: Oct 2019
Posts: 68
John 4 is on a distinguished road
Default

Thank you for your quick replies, and I apologise for my delayed response.

Both Andrew's and Graham's codes work perfectly (I added a few lines to Andrew's to convert all caption styles to my default paragraph style as the caption style left too big a space).



You're right Andrew, tables at the start and end of the document were causing the cutting and pasting problem and both your's and Graham's codes deal with it.

I've attached a shortened version of the document (with the text replaced), so you can see the butted tables. At present they're pasting again as butted. I did manage to reproduce the instance of them pasting as unbutted but once again am unsure how i did it. Altering the “Show text boundaries” or setting “Style area in draft and outline views” to a value greater than "0" may have been what was causing the change (from pasting butted or unbutted), but I can't reproduce the effect consistently so I can't say for sure. I'm saying this more for your benefit than mine as it appears to be something some of you are at least a little curious about. I've now got codes that add a space above and below whether they're butted or not so I'm happy enough no matter which way they paste; and the many table and formatting settings (on top of trying to get my head around VBA) is making me tired

Last edited by Charles Kenyon; 11-10-2020 at 02:04 PM. Reason: remove attachment at request of poster
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Insert a Paragraph mark before and after a table Indention below paragraph mark... kikola Word VBA 13 05-26-2020 06:21 AM
Paragraph mark added on the top of every second page aptbs00 Word 6 09-14-2018 03:53 PM
Insert a Paragraph mark before and after a table Replace space with paragraph mark jeffreybrown Word VBA 8 08-22-2018 03:31 PM
Insert a Paragraph mark before and after a table can't delete paragraph mark at end of document kb Word 10 10-06-2017 02:32 PM
Insert a Paragraph mark before and after a table Final paragraph mark Caroline Word 2 02-22-2011 10:39 AM

Other Forums: Access Forums

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