Find bottom of Excel worksheet in VBA

后端 未结 6 1802
深忆病人
深忆病人 2021-01-19 01:47

I\'d like to select to the bottom of the worksheet, but not below what is used/stored. I might have 10,000 rows, but I certainly don\'t have 65,536. I won\'t know ahead of

6条回答
  •  渐次进展
    2021-01-19 02:24

    It would be safer to assume gaps and use something from XL: How to Determine Top/Bottom Used Cells in a Sparse Array

提交回复
热议问题