VBA 数组赋值问题
定义一个外部数组并赋值DIM A =NN
Sub XXXX()
……
End Sub
能做到吗,怎么做? 怎么也看不出你这有数组啊? DIM a = "aaa","bbb","ccc"等
dim a(100) as long
Dim A As Variant
Sub XXXX()
A = Array("aaa", "bbb", "ccc")
MsgBox A(0)
End Sub
dim b(100) as string
dim c(100) as double
补充:VB , VBA