Link to home
Start Free TrialLog in
Avatar of kiggsondrome
kiggsondrome

asked on

Find the first empty cell in current range (VB)

How do i find the first empty cell in the current range and make
it the active cell?
ASKER CERTIFIED SOLUTION
Avatar of amit_g
amit_g
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of kiggsondrome
kiggsondrome

ASKER


Thanks!

Works for me like this:

For Each oCell In Selection.Cells
    If (oCell.Value = "") Then
        oCell.Select
        Exit For
    End If
Next



Selection.SpecialCells(xlCellTypeBlanks).Cells(1,1).Select

(°v°)
too late... (^v°)