How to hide code in VBA applications

前端 未结 1 1407
后悔当初
后悔当初 2021-01-05 15:34

Is it possible to hide VBA code, normally accessible from Excel\'s VBA Editor (Alt-F11), from a user\'s prying eyes? Can I, for instance, sign it with

相关标签:
1条回答
  • 2021-01-05 16:09

    Yes. In the VBA main menu, click on Tools | VBAProject Properties and under the tab "Protection", Check the box "Lock project for viewing" and enter the password.

    Save and exit the Excel file. When you open it next the code will be hidden.

    Sid

    0 讨论(0)
提交回复
热议问题