I am just a beginner in excel add-in's. Created excel add-in and wrote a simple variable assignment code in startup event.
My code
private void ThisAddIn_Startup(object sender, System.EventArgs e)
{
string path = this.Application.ThisWorkbook.Path;
}
When F5 is pressed from visual studio, new empty excel file is opened and breakpoint hits this event. Ideally you want to test the add-in on existing excel file to check modifications that your add-in is expected to do? Can the existing file be used for debugging?