Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
I'm trying to set the print range of a report. The code I'm using is a follows Dim Print_Range As Range Print_Range = Range("A1:E1", Selection.End(xlDown)).Select ActiveSheet.PageSetup.PrintArea = Print_Range End Sub This isn't working though with a Run-time error 91, Object Variable or With block variable not set. Any ideas Paul |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
print range won't print | Excel Discussion (Misc queries) | |||
Print range | Setting up and Configuration of Excel | |||
Print Blank Pgs - Preview margins outside print range | Excel Discussion (Misc queries) | |||
Excel 2000 VBA - Set Print Range in dynamic range | Excel Programming | |||
Print Range | Excel Programming |