Help... I am trying to create a button that will search for the item in field Updates!a4 and replace it with the text in Updates!c4... I need this to search through the entire workbook.. any help would be great.. I am about a green as it comes with this stuff..
Sub replace()
What = Updates!a4
repl = Updates!c4
Sheets().Select
Selection.replace What:=What, Replacement:=repl, LookAt:=xlPart, _
SearchOrder:=xlByRows, MatchCase:=False, SearchFormat:=False, _
ReplaceFormat:=False
End Sub
Error - Object required (Error 424)
Sub replace()
What = Updates!a4
repl = Updates!c4
Sheets().Select
Selection.replace What:=What, Replacement:=repl, LookAt:=xlPart, _
SearchOrder:=xlByRows, MatchCase:=False, SearchFormat:=False, _
ReplaceFormat:=False
End Sub
Error - Object required (Error 424)