# Delete sheets in excel

**URL:** <https://forum.dynamobim.com/t/delete-sheets-in-excel/43797>\
**Category:** Packages\
**Tags:** dynamo\
**Created:** [November 29, 2019, 10:09am UTC](https://forum.dynamobim.com/t/delete-sheets-in-excel/43797 "2019-11-29T10:09:59Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![luis.brionesalonso](https://avatars.discourse-cdn.com/v4/letter/l/2bfe46/32.png) [@luis.brionesalonso](https://forum.dynamobim.com/u/luis.brionesalonso)\
**Post date:** [November 29, 2019, 10:09am UTC](https://forum.dynamobim.com/t/delete-sheets-in-excel/43797/1 "2019-11-29T10:09:59Z")

</div>

Hi everyone,

I’m using Dynamo for Revit to export a Bill of Quantities to excel. For reasons related to our internal workflow, I have a pre-existing excel template that has all the required sheets already in it, and dynamo inserts the data in the correct sheet.

A lot of projects however will have several empty sheets, I am now looking for a way to delete the excel sheets that do not have any data imported in them.

I have come as far as to have a list of all the excel sheet names that can be deleted, but I can’t find any nodes or way to delete the corresponding sheets in excel. Anybody here who has an idea? I tried looking into creating my own node but unfortunately have 0 experience with python so it did not work out.
