2
我該如何提高這個宏的速度?我可以使這個宏更快嗎?
我的宏:
Attribute VB_Name = "RemplazoString"
Sub MACRO()
bAlerts = Application.DisplayAlerts
Application.DisplayAlerts = False
For i = 1 To Worksheets.Count
Worksheets(i).Cells.Replace What:="T:\", Replacement:="T:\Gestion\", LookAt:=xlPart
Next
Application.DisplayAlerts = bAlerts
End Sub
+1也會推薦一個「每個」優越於「爲我」的做法。 – brettdj