dramnath1981
Member
Dear Hui,
I have designed a small application using VB Form in Excel. I have protected all the Modules, Excel Structure & Excel Workbook to prevent the user to get in to my workings.
I have got some 4 buttons in the front screen to do the job and I am getting the below error message just because I am protecting all the three as mentioned above. Once when I unlock the password for the all the three above, macro functions properly.
I need this very urgently. Can you please tell me how to prevent this error?
Error:
"Cannot run Macro "Test Key File - Encoding.xlsm'!Module1.Button1_Click'. The macro may not be available in this workbook or all macros may be disabled."
I have the enabled Macro settings and went to Trust centre and done what so ever possible. But still I am getting this error.
Is there a way to unprotect the Project module password when excel is open and lock the same once when it is closed? or any other means?
Your help is much appreciated as usual.
Regards,
Ramnath
I have designed a small application using VB Form in Excel. I have protected all the Modules, Excel Structure & Excel Workbook to prevent the user to get in to my workings.
I have got some 4 buttons in the front screen to do the job and I am getting the below error message just because I am protecting all the three as mentioned above. Once when I unlock the password for the all the three above, macro functions properly.
I need this very urgently. Can you please tell me how to prevent this error?
Error:
"Cannot run Macro "Test Key File - Encoding.xlsm'!Module1.Button1_Click'. The macro may not be available in this workbook or all macros may be disabled."
I have the enabled Macro settings and went to Trust centre and done what so ever possible. But still I am getting this error.
Is there a way to unprotect the Project module password when excel is open and lock the same once when it is closed? or any other means?
Your help is much appreciated as usual.
Regards,
Ramnath