Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I get unable to set print area error on the last line of code...
Range("b12:" & Range("j65536").End(xlUp).Address).Select Set prtselect = Selection ActiveSheet.PageSetup.PrintArea = prtselect any help is appreciated! |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
try
ActiveSheet.PageSetup.PrintArea=prtselect.address "John" wrote: I get unable to set print area error on the last line of code... Range("b12:" & Range("j65536").End(xlUp).Address).Select Set prtselect = Selection ActiveSheet.PageSetup.PrintArea = prtselect any help is appreciated! |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Thanks!
"Alok" wrote: try ActiveSheet.PageSetup.PrintArea=prtselect.address "John" wrote: I get unable to set print area error on the last line of code... Range("b12:" & Range("j65536").End(xlUp).Address).Select Set prtselect = Selection ActiveSheet.PageSetup.PrintArea = prtselect any help is appreciated! |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
set area in excel not giving me option to set print area? | Excel Discussion (Misc queries) | |||
File, print area, clear area, is not working | New Users to Excel | |||
print area across the freeze panes area | Excel Worksheet Functions | |||
Macro - Set Print Area for Changing Data Area | Excel Programming | |||
How do you turn off a print area for a page? (no print area) | Excel Discussion (Misc queries) |