Hi Everyone
I have a problem which is driving me crazy
the code below is just a simple example of my issues
why does the array not populate blah(q) with the new value for d each loop
the output is all one value and in this case it was all 2's
Any help greatly appreciated
I have a problem which is driving me crazy
the code below is just a simple example of my issues
Code:
Dim blah(1 To 6) As Variant
For q = 1 To 6
MsgBox q
d = q * 2
blah(q) = d
MsgBox d
Next q
Range("x1:x6") = blah
why does the array not populate blah(q) with the new value for d each loop
the output is all one value and in this case it was all 2's
Any help greatly appreciated
Last edited: