I have a workbook containing only 1 worksheet.
When I open the workbook, it automatically adds a number of worksheets based on a recordset obtained from a database.
I want to be able to delete all of these new worksheets, when I close the workbook, leaving only the original worksheet.
Can someone advise me on the best way to achieve this.
When I open the workbook, it automatically adds a number of worksheets based on a recordset obtained from a database.
I want to be able to delete all of these new worksheets, when I close the workbook, leaving only the original worksheet.
Can someone advise me on the best way to achieve this.