How to delete sheets in Excel with invoke code

How to delete sheets in Excel with invoke code without alerts

Try this(make sure this is a sample below):

Application.DisplayAlerts = False
Sheets([your target sheet name]).Delete
Application.DisplayAlerts = True

hi @jaguilar

Here is a detailed article on that :slight_smile:
# How To Delete Sheets From An Excel File Programmatically – In UiPath

Regards,