hello well i wanna do something like find and replace but i already know what i whant to replace all the columm from D1:D except blanks
Sub final()
Dim rpl, sel As String
rpl = InputBox("replace for:")
sel = Columns("D1:D").Select
Selection.Replace What:=sel, Replacement:=rpl, LookAt:=xlPart _
, SearchOrder:=xlByRows, MatchCase:=False, SearchFormat:=False, _
ReplaceFormat:=False
End Sub
so how do i make it work? i whant "sel" to be the selected column but i dont whant it to replace blank cells.
thanks.
Bookmarks