Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
print screen
i am in the page break view. i need help with my code that sets the print
screne. ActiveSheet.PageSetup.PrintArea = "" how do i give it a range from the A2 to where there is no more text in column A?? |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
print screen
Give this a shot...
Sub printer() printablearea = Range(Cells(2, 1), Cells(lastrow, lastcolumn)).Address ActiveSheet.PageSetup.PrintArea = printablearea End Sub |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Print Screen | New Users to Excel | |||
can't print data labels - on screen but don't print out | Charts and Charting in Excel | |||
print box opens in right screen of dual screen setup why | Excel Discussion (Misc queries) | |||
print screen | Excel Discussion (Misc queries) | |||
Print and Print Preview don't match screen | Excel Worksheet Functions |