finding last row

TCHME

New Member
Joined
Oct 30, 2010
Messages
10
I have a program that enters data in to certain column, but I need to find the next open row
Can anyone help with this?
<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p> </o:p>
Thanks
TCHME
 

Excel Facts

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a $25,000 loan, 5% annual interest, 60 month loan.
If you record with the mouse you can use the Ctrl + Down Arrow key on the keyboard and that will give you code you could use. Sample below:

Range("D3").Select
Selection.End(xlDown).Select

Then you could add and Offset so you end up with this

Range("D3").Select
Selection.End(xlDown).Select
Activecell.Offset(1,0).select
 
Upvote 0
I have a program that enters data in to certain column, but I need to find the next open row
Can anyone help with this?
<!--?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /--><o:p></o:p>
Thanks
TCHME



Code:
Columns("A:A").Select
Range("A" & Rows.Count).End(xlUp).Offset(1,0).Select
 
Upvote 0

Forum statistics

Threads
1,224,505
Messages
6,179,151
Members
452,891
Latest member
JUSTOUTOFMYREACH

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