![]() |
|
#1
|
||||
|
||||
![]()
Try:
Code:
With appWord.ActiveDocument .Sections.Add Start:=wdSectionNewPage .Tables(1).Range.Copy .Characters.Last.Paste End With
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
#2
|
|||
|
|||
![]()
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 |
![]() |
Tags |
non-printing characters, page break, vba |
|
![]() |
||||
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 |
![]() |
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 |