How to clear the entire array?

前端 未结 8 877
不思量自难忘°
不思量自难忘° 2021-02-02 05:06

I have an array like this:

Dim aFirstArray() As Variant

How do I clear the entire array? What about a collection?

8条回答
  •  陌清茗
    陌清茗 (楼主)
    2021-02-02 05:43

    Only use Redim statement

     Dim aFirstArray() As Variant
    
    Redim aFirstArray(nRows,nColumns)
    

提交回复
热议问题