ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   question (https://www.excelbanter.com/excel-programming/303702-question.html)

NascarIsKing

question
 
on the excel sheet that I have formatted, I forgot how to end it at a
certain point. In other words, lets say I want the page to end at line or
row 200 and Column G. How would I do that so when printing I dont have to
print selections. Thank you,
NK



Tom Ogilvy

question
 
With Activesheet
.PageSetup.PrintArea = .Range(.Range("A1"), _
.Range("G200")).Address(External:=True)
End With

--
Regards,
Tom Ogilvy

"NascarIsKing" wrote in message
.. .
on the excel sheet that I have formatted, I forgot how to end it at a
certain point. In other words, lets say I want the page to end at line or
row 200 and Column G. How would I do that so when printing I dont have to
print selections. Thank you,
NK





NascarIsKing

question
 
Thank you very much Tom :)
NK


"Tom Ogilvy" wrote in message
...
With Activesheet
.PageSetup.PrintArea = .Range(.Range("A1"), _
.Range("G200")).Address(External:=True)
End With

--
Regards,
Tom Ogilvy

"NascarIsKing" wrote in message
.. .
on the excel sheet that I have formatted, I forgot how to end it at a
certain point. In other words, lets say I want the page to end at line

or
row 200 and Column G. How would I do that so when printing I dont have

to
print selections. Thank you,
NK








All times are GMT +1. The time now is 03:02 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com