A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
Hi Patrick
The error message is clear
You are trying to name your new sheet with an invalid name or chart
In your scenario B2=":" (Red arrow pointing)
I noticed on your picture, the cell B7 is selected, (Blue arrow pointing)
I just wonder if that's the cell you want to name the new sheet after?
If so, cell B7 also exceed the 31 chart limit to name a sheet in excel.
So, for either cell B2 or B7 you must check the Sheet name nomenclature.
Hope this helps
Regards
Jeovany
Thank you both. I have re-run the Macro and the photos show outputs.
In essence the macro does the following:
- breaks down the worksheet 'TEST' (the one that had initially 120 tables one after another..) and keeps in the first table. CORRECT
- creates a second worksheet with the name 'Value added gross(1)' which is picked on cell B2. CORRECT
- creates a third worksheet with the name "Sheet3' which has all the remaining tables. INCORRECT
From my perspective:
a) the 53 rows as range for each table is correct.
b) cell B2 of each new worksheet should name the worksheet itself
Sorry but I am not an expert in Macros so I might be missing the obvious?
Thanks