Code:
'Sets the selected cell = D2, use 1 if you don't have a header row ActiveCell.Offset(2 - ActiveCell.Row, 4 - ActiveCell.Column).Select Do Until ActiveCell.Value = "" If ActiveCell.Value = "X" Then ActiveCell.Offset(0, -3).Select 'Empty is Null in Excel VBA
Leave a comment: