D
Dan
I am trying to understand hoe redim preserve works, but I keep getting run
time error 9
Any idea what is wrong with my redim preserve.
Thank you.
Dan
For example in the bellow:
Public MyReportArray() As Variant
Sub testpreserve()
ReDim MyReportArray(5, 5)
MyReportArray = Range("A5:E5")
ReDim Preserve MyReportArray(6, 6)
MyReportArray = Range("A6:F5")
End Sub
time error 9
Any idea what is wrong with my redim preserve.
Thank you.
Dan
For example in the bellow:
Public MyReportArray() As Variant
Sub testpreserve()
ReDim MyReportArray(5, 5)
MyReportArray = Range("A5:E5")
ReDim Preserve MyReportArray(6, 6)
MyReportArray = Range("A6:F5")
End Sub