Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
VBA newbie here.... well, at least a few months into it... and have
learned many things from this group... Thank you. Anyway.... I've developed an Excel 2007 (Windows 7) sheet with a VBA front end for data entry. In order for this to run automatically (other colleagues use it)... I'm using the Userform.Show command in the WorkBook_Open sub. Looks like this... Private Sub Workbook_Open() frmMachVisCalculator.Show End Sub I've also password protected the entire workbook, VBA code, hidden sheets, etc to "secure" it as much as possible from erroneous edits. When I open the sheet (on my laptop)... the macro runs automatically, as expected. For others (other PCs)... it runs fine, but for some the Userform never comes up.... and never displays any error message or anything?? I've instructed them to check these settings in their Trust Center.... Macro Settings - check-mark the "Enable All Macros" Macro Settings - check-mark the "Trust Access to the VBA project object model" (whatever that is?) Message Bar - select the "Show the Message Bar in all applications when content has been blocked" And still no luck. For one colleague, I tried to debug the problem on his PC. I opened up my VBA userfrom and tried to execute it manually.... and got the following error message dialog... "The macros in this project are disabled. Please refer to the online help or documentation of the host application to determine how to enable macros." But they are enabled already in his Trust Center? What could be going on here? Is there some Windows 7 Security that is over-ridding the Excel setting? It's strange that it works for some, but not others? Thanks for the help. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How to enable "enable automatic update" security setting by VB cod | Excel Programming | |||
how to get around the Enable Macro security message? | Excel Discussion (Misc queries) | |||
how to get around the Enable Macro security message? | Excel Programming | |||
Security and Macro Enable help | Excel Programming | |||
Macro Start Autorun without Enable security | Excel Programming |