Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Setting print range using VBA
You could set it to the used range every time:
ActiveSheet.PageSetup.PrintArea = _ ActiveSheet.UsedRange.Address HTH... -----Original Message----- I am looking for an easy way to use a macro to select a print range by determining the last row and column used. However, the last row and column used will change between users. For example, if the user only used up to row 98 and column L is the last column used. I need to select the range A1 to L98 and print this range. Thanks for any input. gary . |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Setting the print area in page set up to print 1 page wide by 2 pages tall | Excel Discussion (Misc queries) | |||
Excel Addin:Setting the range to the Excel.Range object range prop | Excel Worksheet Functions | |||
Setting up a macro to print? | Excel Worksheet Functions | |||
Setting print range using VBA | Excel Programming | |||
Setting Print range | Excel Programming |