Hi,
Strange issue. I have a workbook that was working fine this morning. Now when I try to open it Excel looks like its loading the file, then disappears. It doesn't give any sort of error, it just completely closes as if I'd never tried to open it.
If I open it in safe mode it will open but if I try to run VB code it closes again. There's nothing weird with the code, it works fine elsewhere.
One issue I thought it might be is that this spreadsheet has very high sheets numbers (not a high number of sheets) as when testing I'll run code that will create 700 sheets, delete those sheets, change something, run it again etc. This results in the initial sheet names being sheet4000 etc (all are renamed on creation though). Is that perhaps the problem? That I've hit some limit in excels sheet count? Can I fix this?
And how can I stop it happening in the future? If there's 1 sheets, I'd expect the next sheet to be sheet2 not sheet 702 because I deleted 700 sheets before making it.
Thanks. Hope someone can help, I'm kind of f*cked if I can't get this working - it's weeks of work.
Strange issue. I have a workbook that was working fine this morning. Now when I try to open it Excel looks like its loading the file, then disappears. It doesn't give any sort of error, it just completely closes as if I'd never tried to open it.
If I open it in safe mode it will open but if I try to run VB code it closes again. There's nothing weird with the code, it works fine elsewhere.
One issue I thought it might be is that this spreadsheet has very high sheets numbers (not a high number of sheets) as when testing I'll run code that will create 700 sheets, delete those sheets, change something, run it again etc. This results in the initial sheet names being sheet4000 etc (all are renamed on creation though). Is that perhaps the problem? That I've hit some limit in excels sheet count? Can I fix this?
And how can I stop it happening in the future? If there's 1 sheets, I'd expect the next sheet to be sheet2 not sheet 702 because I deleted 700 sheets before making it.
Thanks. Hope someone can help, I'm kind of f*cked if I can't get this working - it's weeks of work.