I would like to use the inputBox to pick a column by user and apply it to run on each row index but haven't had a luck. Its saying type mismatch. A lot of things to learn and lacking experience in coding. Thanks in advance for any inputs.
Sub FormatRange()
Dim i As Long, r As Range
Set r = Application.InputBox("Pick Column", , , , , , , 8)
For i = 3 To 1500
If r.Value <> "" Then r.Interior.Color = vbYellow
Next i
End Sub