批量查找替换 日报表使用
Sub 批量查找替换()
Dim i%
For i = 3 To 31
Worksheets(i).Select
Cells.Replace What:="t1", Replacement:="t" & i - 1, LookAt:=xlPart, SearchOrder _
:=xlByRows, MatchCase:=False, SearchFormat:=False, ReplaceFormat:=False
Next
End Sub
Sub 批量查找替换()
Dim i%
For i = 3 To 31
Worksheets(i).Select
Cells.Replace What:="t1", Replacement:="t" & i - 1, LookAt:=xlPart, SearchOrder _
:=xlByRows, MatchCase:=False, SearchFormat:=False, ReplaceFormat:=False
Next
End Sub