How do I declare an array variable in VBA?

后端 未结 7 674
灰色年华
灰色年华 2020-12-08 20:02

I need to add the var in array

Public Sub Testprog()

Dim test As Variant
Dim iCounter As Integer

If test = Empty Then
    iCounter = 0
    test(iCounter) =         


        
相关标签:
7条回答
  • 2020-12-08 20:53

    David, Error comes Microsoft Office Excel has stopped working. Two options check online for a solution and close the programme and other option Close the program I am sure error is in my array but I am reading everything and seem this is way to define arrays.

    0 讨论(0)
提交回复
热议问题