Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I am currently using the following code to set the print area in Sheet1 on my
workbook. Private Sub Workbook_BeforePrint(Cancel As Boolean) Sheets("Sheet1").PageSetup.PrintArea = Sheet1.Range("PrintArea").Address End Sub I would like to set this up to do the same thing for the Active Sheet a user is on. I have tried a number of ways, but I need some help. Any ideas? |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
determining dynamic print area | Excel Programming | |||
Dynamic Print Area | Excel Discussion (Misc queries) | |||
dynamic print area | Excel Worksheet Functions | |||
Vb to set print area for dynamic pages | Excel Programming | |||
Dynamic print area | Excel Programming |