Unprotect sheet with password, without exposing password in the macro

前端 未结 3 1508
逝去的感伤
逝去的感伤 2021-02-20 17:33

I have recently started writing some Macro\'s in Excel. I have a protected worksheet, and a few buttons that allow the user to add/remove columns/rows at a certain point in the

3条回答
  •  没有蜡笔的小新
    2021-02-20 18:10

    You can call a UserForm to handle the password prompt, but mask the characters by using PasswordChar as a textbox property.

提交回复
热议问题