Hello.
I have created a VBA code so that, when creating a new sheet in an Excel workbook, it adds a default code to it.
The fact is that it works perfectly when there are more than two sheets, but it gives an error when there is only one and I add the second.
I don't know how I can fix this problem.
Could you give me a hand?
Thank you so much.
I have created a VBA code so that, when creating a new sheet in an Excel workbook, it adds a default code to it.
The fact is that it works perfectly when there are more than two sheets, but it gives an error when there is only one and I add the second.
I don't know how I can fix this problem.
Could you give me a hand?
Thank you so much.