📅  最后修改于: 2022-03-11 14:51:57.597000             🧑  作者: Mango
Sub ResetUsedRange(ws As Worksheet)
If ws.UsedRange.Rows.Count Then ws.UsedRange.Calculate
End Sub
'------------------------------------------------------------------
'Call the above procedure like so:
ResetUsedRange Sheet1