How to find the end of a list

milo

New Member
Joined
Jul 24, 2002
Messages
6
I have a macro that wants copy a range from one sheet to the end of a long list on another sheet. Simply enough eh? The problem is how to get excel to find the end of the list so you can paste the new data in the rigth place. Every time you run the macro the end of this list will shift down.
 

Some videos you may like

Excel Facts

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand

Paul B

Well-known Member
Joined
Feb 15, 2002
Messages
575
use something like
Range("A65536").Select
Selection.End(xlUp).Select
ActiveCell.Offset(1, 0).Select
 

milo

New Member
Joined
Jul 24, 2002
Messages
6
Thanks Paul, That worked great. Nice and Simple, I knew there had to be a way.

Milo
 

Watch MrExcel Video

Forum statistics

Threads
1,123,156
Messages
5,600,040
Members
414,357
Latest member
Gemma_R

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
Top