可以使用Count属性来统计工作表已使用区域的行数和列数:. Dim rng As Range. Set rng =Worksheets("MySheet").UsedRange. Debug.Print rng.Rows.
確定! 回上一頁