Upper Limit for Transpose Function (?)

JHSam

Board Regular
Joined
Feb 17, 2002
Messages
62
I am using the Transpose function within VBA to send an array to an Excel worksheet. The total number of records in this particular array is about 8100. When I hit this step in the code, I get a "Type Mismatch" error. Have I gone beyond the limit for the transpose function to work properly?

Thanks.

:huh:
 
The function transposes the array to rows, so I'm within that limit. I think the problem is that the Transpose function may have an upper limit of 65536 records.

I can split the array up to handle this output.
 
Upvote 0
Yes, 65536 is XL's max rows; try to transpose a lesser amount to one column, then the rest to another column/sheet.
 
Upvote 0
Hello,

JHSam said:
I am using the Transpose function within VBA to send an array to an Excel worksheet. The total number of records in this particular array is about 8100. When I hit this step in the code, I get a "Type Mismatch" error. Have I gone beyond the limit for the transpose function to work properly?

Yes you have. In Excel '97 & '00 you're limited to 5461 elements. in XP, this limitation is removed.

You'll want to loop under your circumstances. :outtahere:
 
Upvote 0

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top