Second new thread since I joined today. I'm not knowledgeable in VBA. Would like to replace the "Page:" word on each tab of the workbook. Below is recording I did that only works on the active page I'm on.
Sub ReplacePage()
Dim sht As Worksheet
For Each sht In ActiveWorkbook.Worksheets
With sht
Rows("2:2").Select
Selection.Replace What:="Page:", Replacement:="", LookAt:=xlPart, _
SearchOrder:=xlByRows, MatchCase:=False, SearchFormat:=False, _
ReplaceFormat:=False
End With
Next sht
End Sub
Sub ReplacePage()
Dim sht As Worksheet
For Each sht In ActiveWorkbook.Worksheets
With sht
Rows("2:2").Select
Selection.Replace What:="Page:", Replacement:="", LookAt:=xlPart, _
SearchOrder:=xlByRows, MatchCase:=False, SearchFormat:=False, _
ReplaceFormat:=False
End With
Next sht
End Sub