我需要为mac excel版本重新配置这个宏。这个宏在Windows平台上工作得很好,但是如果我这个宏在mac excel版本上启动它就会调用我 - 错误400.
Sub RefreshCells()
Dim r As Range, rr As Range
Set rr = Selection
For Each r In rr
r.Select
Application.SendKeys "{F2}"
Application.SendKeys "{ENTER}"
DoEvents
Next
End Sub
谢谢 JS