Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Selecting print range
ActiveSheet.PageSetup.PrintArea = ActiveCell.CurrentRegion.Address
There is some empty row in the print range. In this case this formula is not fine for me. or ActiveSheet.PageSetup.PrintArea = "R3C1:R15C2" In this case I cannot use variable. What is the solution for that issue? |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Selecting print range
Try this: is selecting range form activecell to last nonempty cell
ActiveSheet.PageSetup.PrintArea = Range(ActiveCell, ActiveCell.SpecialCells(xlLastCell)).Address "Tamas Konczer" skrev: ActiveSheet.PageSetup.PrintArea = ActiveCell.CurrentRegion.Address There is some empty row in the print range. In this case this formula is not fine for me. or ActiveSheet.PageSetup.PrintArea = "R3C1:R15C2" In this case I cannot use variable. What is the solution for that issue? |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Selecting print range
Thank you for your help!
excelent írta: Try this: is selecting range form activecell to last nonempty cell ActiveSheet.PageSetup.PrintArea = Range(ActiveCell, ActiveCell.SpecialCells(xlLastCell)).Address "Tamas Konczer" skrev: ActiveSheet.PageSetup.PrintArea = ActiveCell.CurrentRegion.Address There is some empty row in the print range. In this case this formula is not fine for me. or ActiveSheet.PageSetup.PrintArea = "R3C1:R15C2" In this case I cannot use variable. What is the solution for that issue? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Selecting Pages to Print | Excel Discussion (Misc queries) | |||
Selecting test to not print | Excel Discussion (Misc queries) | |||
Selecting range in list of range names depending on a cell informa | Excel Discussion (Misc queries) | |||
after selecting grindlines, why does it still print without any? | Excel Discussion (Misc queries) | |||
Problem selecting a range to print... | Excel Programming |