Glory
Well-known Member
- Joined
- Mar 16, 2011
- Messages
- 640
Code:
Sub test()
<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p> </o:p>
Dim b() As Variant
<o:p> </o:p>
For i = 1 to 2
b(i) = i
MsgBox b(i)
Next
<o></o>
The red line in this procedure returns an error. Why?
<o> </o>
Is it not possible to loop through the contents of a dynamic array?