VBA Modules/Macros wont load on startup

SpartanGhost505

New Member
Joined
Feb 10, 2021
Messages
1
Office Version
  1. 2010
Platform
  1. Windows
Hello all,

I was hoping I could gain some advice, I have some modules such as a welcome message, and another one that disables right clicking, which usually work great.

When they're locked into a password protected sheet, they refuse to work or automate on opening Excel? If i remove the password and reopen the spreadsheet, all of it kicks back in and works.

Can anyone suggest anyway around this as the documents need to be protected with password (not protected worksheet...the whole document requires a password on entry)

Thanks in advance!
 

Excel Facts

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.
Describe your actions in detail ... it's hard to understand what you mean? Also, show your macros, or at least the Welcome message one. Do you get any error messages?
 
Upvote 0
Are those "modules" being called automatically upon opening the workbook in the Workbook_Open event ?
If so, can you try using the Workbook_Activate event instead and see what happens.
 
Upvote 0

Forum statistics

Threads
1,214,849
Messages
6,121,925
Members
449,056
Latest member
denissimo

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top