Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 03-04-2014, 04:10 PM
macropod's Avatar
macropod macropod is online now Add Break at end of doc, control display of non-printable characters Windows 7 32bit Add Break at end of doc, control display of non-printable characters Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,467
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

Try:
Code:
With appWord.ActiveDocument
  .Sections.Add Start:=wdSectionNewPage
  .Tables(1).Range.Copy
  .Characters.Last.Paste
End With
Note that nothing ever gets selected.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #2  
Old 03-05-2014, 01:41 AM
RoMu RoMu is offline Add Break at end of doc, control display of non-printable characters Windows 7 64bit Add Break at end of doc, control display of non-printable characters Office 2010 32bit
Novice
Add Break at end of doc, control display of non-printable characters
 
Join Date: Mar 2014
Posts: 6
RoMu is on a distinguished road
Default

Hi Paul,
thanks for your suggestion. Have tried and found that this approach as well depends on the option to have visibility of non-printing characters switched on.
In parallel I was looking for a solution to prevent word from breaking to a new page within a table and applied the settings explained in http://ragrawal.wordpress.com/2008/0...s-in-one-page/ (approach is quite similar for WORD 2010).

Combining your suggestion with the explained style settings leads to success (as far as I was able to test).

So thanks to you and the author of the style settings, Ritesh Agrawal, for solving my problem.

Kind regards Rolf
Reply With Quote
Reply

Tags
non-printing characters, page break, vba



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to make building block content control determine bb to display elsewhere jamles12 Word VBA 5 11-16-2013 11:38 AM
display number of characters in a word section shootingluc Word 3 03-29-2012 03:25 PM
Add Break at end of doc, control display of non-printable characters How to display those characters in word properly? Srivas Word 2 03-28-2011 12:02 AM
paragaph hard break, soft break and ...strange break czomberzdaniela Word 2 12-03-2010 06:58 PM
Junk characters (box-like characters) in Word file Sashikala Word 1 04-20-2010 02:03 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 04:32 PM.


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