Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default moving table to next page


i have a little dilemma that i cannot seem to solve, I have searched th
databases without any luck. Every time the user selects to print, i ru
a macro which inserts a table at the bottom of the page, my problem is
sometimes when the table is inserted, and there is not enought room o
that page, part of it goes on to the next page, is there a easy way o
having the whole table print of the next page, instead of printing som
of the table on one page, and some on the next...thank

--
tess45
-----------------------------------------------------------------------
tess457's Profile: http://www.excelforum.com/member.php...fo&userid=1393
View this thread: http://www.excelforum.com/showthread.php?threadid=26619

  #2   Report Post  
Posted to microsoft.public.excel.programming
No Name
 
Posts: n/a
Default moving table to next page

hi,
in your macro, add code to find the bottom of the data
then ad
ActiveWindow.SelectedSheets.HPageBreaks.Add _
Befo=ActiveCell
ActiveWindow.SelectedSheets.VPageBreaks.Add _
Befo=ActiveCell

-----Original Message-----

i have a little dilemma that i cannot seem to solve, I

have searched the
databases without any luck. Every time the user selects

to print, i run
a macro which inserts a table at the bottom of the page,

my problem is,
sometimes when the table is inserted, and there is not

enought room on
that page, part of it goes on to the next page, is there

a easy way of
having the whole table print of the next page, instead of

printing some
of the table on one page, and some on the next...thanks


--
tess457
----------------------------------------------------------

--------------
tess457's Profile: http://www.excelforum.com/member.php?

action=getinfo&userid=13938
View this thread:

http://www.excelforum.com/showthread...hreadid=266199

.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
moving page breaks Shelia Setting up and Configuration of Excel 1 June 29th 07 02:38 AM
moving items within the page Alan Excel Worksheet Functions 1 May 30th 07 05:14 PM
moving a paragraph to the next page. alyn21 Excel Discussion (Misc queries) 2 September 14th 06 06:03 PM
Moving information to a different page Andy Excel Worksheet Functions 2 June 5th 06 08:19 PM
Moving Page with Scroll Bar CMM Excel Discussion (Misc queries) 1 March 1st 05 07:07 AM


All times are GMT +1. The time now is 11:31 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"