please explain ReDim Y(1 To UBound(X, 1) * UBound(X, 2), 1 To 8)
please explain ReDim Y(1 To UBound(X, 1) * UBound(X, 2), 1 To 8)
make the array Y with as rows the product of the number of rows of X (Ubound(x,1)) and the number of columns of X(ubound(x,2)) and 8 columns.
Both start with row 1 and column 1, that could have been 0 !
Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.
You left out the bit which looks like this line
x= range("A2").currentregion
How do I know? I am a mind-reader.
How is the array X defined?
If posting code please use code tags, see here.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks