how to enable all macros of excel using vb.net

冷暖自知 提交于 2021-01-29 09:05:17

问题


Currently, I am working on vb.net that needs to export an excel file with Macros enabled. The Macro is used to disable editing the cells in Excel. For some reason, the options settings on the other computer are not set to Enable all the Macros and the user can edit any cells on the Excel file that could lead to misinformation of the report to be sent on the Factory. This is the link where you can see how to enable all Macro Enable Macros

Now, My question is: How to enable all macros on the Excel file using the code of vb.net?

来源:https://stackoverflow.com/questions/62586010/how-to-enable-all-macros-of-excel-using-vb-net

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!