-
Notifications
You must be signed in to change notification settings - Fork 14
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
Allow a sheet to be named "History" #105
Comments
Doug—
When I try to rename a sheet in Excel 2016 to ‘History’ I get an error message that History is a reserved name.
![image](https://github.com/ggreen86/XLSX-Workbook-Class/assets/28057069/61f4253d-6582-4468-a69f-d28f0827cea7)
Based on this I would not recommend using this name as I don't know what side-effects that might occur.
Greg
From: Doug Hennig ***@***.***>
Sent: Sunday, December 24, 2023 9:25 AM
To: ggreen86/XLSX-Workbook-Class ***@***.***>
Cc: Subscribed ***@***.***>
Subject: [ggreen86/XLSX-Workbook-Class] Allow a sheet to be named "History" (Issue #105)
I commented out this code in CheckSheetName to allow a sheet to be named "History":
*** DH 2023-07-14: allow History as a sheet name
*IF UPPER(lcSheetName) == "HISTORY"
* RETURN .NULL.
*ENDIF
—
Reply to this email directly, view it on GitHub<#105>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AGWB33KOE2VN6PVZPGEFAYDYLA3MVAVCNFSM6AAAAABBBSFKYOVHI2DSMVQWIX3LMV43ASLTON2WKOZSGA2TKMJRG43DOMA>.
You are receiving this because you are subscribed to this thread.Message ID: ***@***.******@***.***>>
|
You can't rename a sheet to History but you can create a sheet named History. That seems weird! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I commented out this code in CheckSheetName to allow a sheet to be named "History":
The text was updated successfully, but these errors were encountered: