Dear all, Here I have following VBA code :
[VBA]Sub calculation()
Dim test(1 To 5, 1 To 5) As Double
Dim i, j As Integer
For i = 1 To 5
For j = 1 To 5
test(i, j) = 5
Next
Next
end sub[/VBA]
Here I want to save the above "test" array into a CSV file, which itself needs to be generated on the fly once the sub "calculation" is being executed. Can anyone please tell me how to do that? Your help will be highly appreciated.
Thanks