Maximum rows in an Excel file that Import-Excel can read #1405
Unanswered
jharrod3003
asked this question in
Q&A
Replies: 1 comment 2 replies
-
Never tried with more than 100K rows. Could be out of memory. It is using a C# construct underneath to read the data, and it may have limitations. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi all,
I'm writing a PowerShell script to read an Excel file containing the maximum row size (1,048,576) and 69 columns.
However, I am getting an error message as below.
MethodInvocationException: < Import-Excel install path >\Import-Excel.ps1:124
Line 124: else { $ExcelPackage.Load($stream) }
Exception calling "Load" with 1 arguments(s). Array dimensions exceed supported range.
WARNING: Selecting columns 1 to 0 might give odd results - I'm not passing any columns to it?
I have used the module previously to read other Excel files, but none over 50,000 rows until this file.
Any help will be appreciated.
Thanks!
James Harrod
Beta Was this translation helpful? Give feedback.
All reactions