Find next empty row ?

theta

Well-known Member
Joined
Jun 9, 2009
Messages
960
Hi

Anybody got a simple macro to find the next empty row, and make active cell column A of this row?

Also want it so that it only looks for empty rows AFTER row 14

Also, I have a seperate macro to input some formulas, how would I make it so that it will only run if the current row is higher than 14 ?

Help appreciated

T
 
Thanks guys ill give them a try now.

Basically want to select column A on the first row that is completely empty

I wasn't very clear before

It's so that somebody can say "insert contract" and it will find the next blank row, and make column A the active cell ready for input
 
Upvote 0

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying
Mick has supplied you with some VERY NICE Code. To accomplish what you want
Copy his exact code into a Standard Module and make the following changes ONLY before running:

Replace this line >>> 'MsgBox "Row " & Dn.Row
With this line >>> Range("A" & Dn.Row).Select

PS: Great Code Mick - Thanks!!!

Jim May
 
Upvote 0
another option:

(after spending some time on this solution, i should post :LOL: )

Code:
Sub ActivateBlankRows()
 
For i = 15 To Rows.Count
    If Application.CountA(Rows(i)) = 0 Then
       Cells(i, 1).Select
       Exit Sub
    End If
Next i

 
End Sub
 
Upvote 0

Forum statistics

Threads
1,215,035
Messages
6,122,791
Members
449,095
Latest member
m_smith_solihull

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