Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Set Page Break Lines using VBA
I'd like to set page break lines and print area in a worksheet using VBA, but
have no idea how to do this... I have a worksheet with 11 pages (of the same size) when viewed in Page Break Preview: - Page 1 has a content table with 10 cells (B1:B10) where user can enter the report titles. - Page 2 shows contents under Title #1 (title name is entered in cell B1); Page 3 for Title #2; and so on. I'm hoping to only show and print Page 1, plus any other pages only if their titles have been entered in the content table. (e.g. if only 3 titles are entered, just show page 1 and the other 3 pages). Any help would be appreciated (preferably with example and explanation..because I'm just helpless with programming) |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Page Break Lines in Excel 2007 | Excel Discussion (Misc queries) | |||
Make page break every several lines automatically by VBA | Excel Programming | |||
Can I set an automatic page breaks to break every 40 lines? | Excel Discussion (Misc queries) | |||
automatically put in page break after 14 lines. | Excel Programming | |||
Hatched page break lines | Excel Programming |