Can't assign to array excel -
i've been looking answer little while now. i'm referencing last answer (by control freak) question excel vba - how redim 2d array? in compiling problems.
dim arrmachinevision(10, 4) arrmachinevision = redimpreserve(arrmachinevision, machinevisioncount - 1, 4) above code line won't compile , telling me can't assigned array. know in java have make temporary array , copy values on , reassign original array temp array , set array null. thought function doing after done can't assigned original array. i'm wondering i'm doing wrong.
the reason i'm going through function because need resize first dimension in 2d array , normal redim won't me.
Comments
Post a Comment