ififthelement
New Member
- Joined
- Sep 11, 2014
- Messages
- 48
Hi,
I have written the customUI XML for an Excel workbook. There are few onAction callback functions i have written for the commands, for e.g. for idMso=ChartEditDataSource there is an onAction=DatasourceProtection written in the VBA.
Now the problem statement : somebody can just rename the extension of the Excel file (from xlsm or xlsb) to .ZIP. And then within the ZIP, the person can either remove the xml code for the command or even remove the customUI completely.
So when the Excel file is invoked, it wouldnt know if any function was ever attached; because by default cusomUI is Empty.
How to protect the CustomUI xml file ?
I have written the customUI XML for an Excel workbook. There are few onAction callback functions i have written for the commands, for e.g. for idMso=ChartEditDataSource there is an onAction=DatasourceProtection written in the VBA.
Now the problem statement : somebody can just rename the extension of the Excel file (from xlsm or xlsb) to .ZIP. And then within the ZIP, the person can either remove the xml code for the command or even remove the customUI completely.
So when the Excel file is invoked, it wouldnt know if any function was ever attached; because by default cusomUI is Empty.
How to protect the CustomUI xml file ?