Activating Active X Question

weaselmcguff

Board Regular
Joined
Feb 24, 2006
Messages
246
I have written a program in Excel and VBA and been testing it out to make sure that everything is working correctly. One of the problems I have encountered is that when I use the program on different computers I get the pop up that asks me.

"This application is about to initalize Active X controls that might be unsafe. If you trust the source of this file, select OK and the controls will be initialized using your current workspace environment."

Is there any way to automatically do an error trap and/or something that eliminates this pop up by selecting OK and proceeding without the user interaction?

Thanks for the Help
 

Excel Facts

Can you AutoAverage in Excel?
There is a drop-down next to the AutoSum symbol. Open the drop-down to choose AVERAGE, COUNT, MAX, or MIN
I don't think is any way around this problem, nor should there be. If you can turn it off programatically so can the jerk who gets his jollies infecting other people's computers with viruses.

I believe that you can set "Macro Security" to "low" on pre 2007 versions of Excel but that is not a very wise thing to do.

Gary
 
Upvote 0
Hi

Try this

Tools > Macros > Security, activate tab Trusted Sources,
check
Trasted all installed add-ins and templates
&
Trust access to Visual Basic Project
 
Upvote 0

Forum statistics

Threads
1,214,908
Messages
6,122,187
Members
449,071
Latest member
cdnMech

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