问题
I have a legacy Excel AddIn implemented in VBA which I am slowly porting to .net using VSTO. Using this AddIn I am storing settings per workbook within a hidden sheet. I was wondering if there is a better approach to do this using VSTO.
回答1:
You can use Custom Document Properties to store the settings.
来源:https://stackoverflow.com/questions/10001069/vsto-best-place-to-store-excel-workbook-settings