vba delete sheets

  1. Martin_H

    Delete every sheet higher than sheet(16) [VBA]

    Hi, I would like to adjust my macro (see the code at the bottom) so it will delete every worksheet higher than sheet(16). Sheet(16) can not be deleted. Currently I am using this line, which I do not like. With ThisWorkbook .Sheets(17).DELETE: .Sheets(18).DELETE: .Sheets(19).DELETE...
  2. O

    VBA Code to Delete All Sheets/Tabs between two Specific Tabs/Sheets

    Thanks in advance for any suggestions which I will provide feedback. Why does nothing happens when I run the following code as I'm trying delete all the sheets between the "Start" and "End" sheets? Sub DltShts() 'Dimensioning Dim i As Long 'Turn off Screen Update...
  3. W

    Delete Worksheets With no data below Row 1

    I have some code to delete empty sheets in a workbook but I'm not sure how to modify it to delete the sheets only if they have no data below row 1. I have a header row and if no data is populated to the sheet(s) I want to be able to run this macro in the workbook to be able to delete those blank...

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top