"END" of spreadsheet.

Zac

Well-known Member
Joined
Feb 20, 2002
Messages
796
I know that CTRL/END takes me to the last cell in the S-Sheet. Can that be changed?

In other words my sheet really ends at lets say G40 not H50. I tried deleting rows 41 thru 50 but that still takes me to H50.

I'm trying to write a macro to automatically set my print area based on the "actual" end of sheet.
 

Excel Facts

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.
Did you save your worksheet after deleting the rows? Hint... hint.
This message was edited by Mark W. on 2002-02-27 10:28
 
Upvote 0
Yeah, annoying isn't it?!
Here's a couple of ideas...

Try holding down 'End' and pressing the 'Down' arrow to get to the end of your data? (If it works, then record a macro while you do it to see what the command is)

Or try the .UsedRange property of the worksheet.
 
Upvote 0

Forum statistics

Threads
1,223,323
Messages
6,171,467
Members
452,406
Latest member
kken tthompson

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top