RPA UiPath — How to delete a sheet in Excel file using VBA
In this tutorial, you will learn how to delete a sheet using Invoke VBA activity in UiPath studio.
Below is the video tutorial:
VBA Code used in the video:
Sub Delete_sheet(SheetName As String)
Application.DisplayAlerts = False
ThisWorkbook.Sheets(SheetName).Delete
Application.DisplayAlerts = True
End Sub
Workflow Screenshot:
For workflow and VBA code used in the video, Goto below Github link:
Happy Automation !!
Follow me on LinkedIn: https://www.linkedin.com/in/santanbarnwal/
Subscribe to my YouTube channel: https://www.youtube.com/channel/UCoF8-B_MfOCL40szrorbtyQ
My Website: www.santanbarnwal.com
— Santan Barnwal