I have set up an automated process. At the end I tidy up the Workbook by deleting a number of worksheets (not all) using the code:
ActiveWindow.SelectedSheets.Delete
Unfortunately this code is activating a message box asking for confirmation of the deletion. Defeats the auto purpose.
I've tried all sorts of variations on selecting the sheet object but to know avail.
Can anyone help please
ActiveWindow.SelectedSheets.Delete
Unfortunately this code is activating a message box asking for confirmation of the deletion. Defeats the auto purpose.
I've tried all sorts of variations on selecting the sheet object but to know avail.
Can anyone help please