I am looking to fill in blanks in the selected range with the word "Research"
IF the cell is blank then
cell = "Research"
Simple enough, yet my mind is drawing a blank. The code below puts the word "Research" in the Header (U1), instead of in the blank cell. Something is missing, what in what in the name of Tom Selleck's mustache am I doing wrong. UGH!
thanks
IF the cell is blank then
cell = "Research"
Simple enough, yet my mind is drawing a blank. The code below puts the word "Research" in the Header (U1), instead of in the blank cell. Something is missing, what in what in the name of Tom Selleck's mustache am I doing wrong. UGH!
Code:
Dim mycell As Range
For Each mycell In Range("U2", Range("U" & Rows.Count).End(xlUp))
Select Case True
Case IsEmpty(mycell.Value)
If IsEmpty(mycell.Value) Then
mycell.Value = "Research"
End If
End Select
Next mycell
thanks