Search code examples
c#.netexcelexcel-dna

Tracking workbook and worksheet renames


Is there any way to get an event when a workbook or a worksheet is renamed in an Excel-DNA based addin? Apparently, the Application object doesn't expose these events directly.


Solution

  • There is no API way, but there are quite a few workarounds.

    Maybe this will help:

    Rename Worksheet Event in Excel