0
Dim sht As Worksheet
Dim fnd As Variant
Dim rplc As Variant
fnd = "April"
rplc = "May"
For Each sht In ActiveWorkbook.Worksheets
sht.Cells.Replace what:=fnd, Replacement:=rplc, _
LookAt:=xlPart, SearchOrder:=xlByRows, MatchCase:=False, _
SearchFormat:=False, ReplaceFormat:=False
Next sht
End Sub
, 나는 발견하고 내가이 작업을 수행하는 코드를 편집하는 방법 행 (30) entireworkbook에 걸쳐 만에 교체 할 필요 특정 행에 전체 통합 문서를 통해 교체?찾기 & I는 다음과 코드가
'sht.Cells.Replace' 대신'sht.Rows (30) .Replace'를 사용하십시오. – tigeravatar