📜  excel vba如何重置usedrange - VBA代码示例

📅  最后修改于: 2022-03-11 14:51:57.597000             🧑  作者: Mango

代码示例1
Sub ResetUsedRange(ws As Worksheet)
    If ws.UsedRange.Rows.Count Then ws.UsedRange.Calculate
End Sub
'------------------------------------------------------------------

'Call the above procedure like so:
ResetUsedRange Sheet1