Does (Excel) VBA dis开发者_开发问答tinguish between:
Dim Ghadafi as Variant
and
Dim Ghadafi() as Variant
?
First syntax is ONE variant variable, while second represent an array of variant.
- You can do
Ghadafi = 5.25
- You can do
Redim Preserve Ghadafi(3)
Ghadafi(1) 5.25
Ghadafi(2) = 6.10
精彩评论