How to save the buttons added to the spreadsheet in the VSTO project
My project requires adding a button to the Excel sheet, similar to the simplified code below. But once the sheet is closed and opened again, the button cannot be clicked. How can I save the status of this button so that it can be retained every time I open this spreadsheet?