Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Redim Preserve question | Excel Programming | |||
VBA: What does Redim Preserve do in term of memory | Excel Programming | |||
redim preserve | Excel Programming | |||
Redim Preserve doesn't work | Excel Programming | |||
ReDim, Preserve and Multidimensional arrays | Excel Programming |