Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SpreadsheetFormatColumn() on large spreadsheet #9

Open
MarcAckermann opened this issue Aug 23, 2017 · 1 comment · May be fixed by #23
Open

SpreadsheetFormatColumn() on large spreadsheet #9

MarcAckermann opened this issue Aug 23, 2017 · 1 comment · May be fixed by #23

Comments

@MarcAckermann
Copy link

Using SpreadsheetFormatColumn() on a large spreadsheet throws error:
"The maximum number of cell styles was exceeded. You can define up to 4000 styles in a .xls workbook"
I have a sheet with 2100 rows and 12 columns.

In case someone else runs into this issue, the workaround
SpreadsheetFormatCellRange (spreadsheetObj, format, startRow, startColumn, endRow, endColumn)
works fine.

@mjclemente
Copy link

Ran into the same issue with spreadsheetFormatRow and spreadsheetFormatRows. Same workaround worked for me.

@skyrawrcode skyrawrcode linked a pull request Jan 27, 2020 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants