I'm creating a custom ribbon for a workbook in Excel 2007. If I open the Excel file as a zip file, then I can see the customUI.xml
file that was created for these modifications to the ribbon to work.
What I would like to do is to protect the Excel file from users opening the file as a zip file and removing the customUI.xml
file and thus being able to bypass the custom ribbon controls.
I would like to accomplish this without using password protection when opening the file in Excel. Users should be able to open and fill in information in the sheet without entering a password, but they should not have access to the workbook's zip structure content.
Does anyone have an idea how I can accomplish this?
Edit: The solution is to use a VSTO solution.