I have some code that removes worksheets from an Excel document. The code works fine, but when I open the resulting document in Excel, Excel prompts me with this error message:
"Removed one or more invalid names."
The file does open successfully after I click OK for that message.
How can I remove the “invalid names” myself so this error does not get displayed?
Please try the latest hotfix for removing worksheets issues.
Thanks. The hotfix fixed the problem I posted in this forum. However, there is another problem that I have previously e-mailed you about that is still not fixed for me. Please let me know about this one as well.