Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have a named dynamic range for printing, ie AATableA which is defined
as =OFFSET('Table A Master'!$A$1,0,0,'TableA Input'!$B$160,18) The part of the procedure below prints out only those rows which have continuous entries and leave all the blank rows below. This works fine but on row 160 there are totals for the columns already in the printout. What I want to do ideally is to print out the completed rows as I do already but somehow in the procedure add in the totals row at the bottom of the printed rows. Is there some way to add this to the print area or does it have to be re-written in another procedure. ActiveSheet.PageSetup.PrintArea = "AATableA" With ActiveSheet.PageSetup .PrintTitleRows = "$1:$5" .Orientation = xlLandscape .PaperSize = xlPaperA4 .FirstPageNumber = xlAutomatic .Zoom = False .FitToPagesWide = 1 .FitToPagesTall = False .LeftFooter = "&F" End With ActiveWindow.SelectedSheets.PrintOut Grateful as always for any guidance. Graham Haughs Turriff Scotland |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
starting from bottom of range instead of top | Excel Programming | |||
how use range to bottom of filled cells? | Excel Worksheet Functions | |||
Adding info in the row at the bottom using macro? | Excel Discussion (Misc queries) | |||
Copying formula to the bottom of a range | Excel Programming | |||
How to: Add blank row at bottom of range | Excel Programming |