ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   suppress Active X alert (https://www.excelbanter.com/excel-discussion-misc-queries/98483-suppress-active-x-alert.html)

nevpoe

suppress Active X alert
 
I have a macro that runs a Active X add-in. The macro always pauses to ask
if it is okay to use the Active X add-in. How do I get this to stop?

JMB

suppress Active X alert
 
Have you tried

Application.DisplayAlerts = False
your code
Application.DisplayAlerts = True


"nevpoe" wrote:

I have a macro that runs a Active X add-in. The macro always pauses to ask
if it is okay to use the Active X add-in. How do I get this to stop?


nevpoe

suppress Active X alert
 
Yes, and it still does not requires me to answer okay to the alerts.

"JMB" wrote:

Have you tried

Application.DisplayAlerts = False
your code
Application.DisplayAlerts = True


"nevpoe" wrote:

I have a macro that runs a Active X add-in. The macro always pauses to ask
if it is okay to use the Active X add-in. How do I get this to stop?


JMB

suppress Active X alert
 
I'm afraid I don't have any other suggestions, other than making sure theres
not a command in the VBA code asking if it is okay to use the add-in, such as

Result = Msgbox("Okay to run add-in?", vbyesno)


"nevpoe" wrote:

Yes, and it still does not requires me to answer okay to the alerts.

"JMB" wrote:

Have you tried

Application.DisplayAlerts = False
your code
Application.DisplayAlerts = True


"nevpoe" wrote:

I have a macro that runs a Active X add-in. The macro always pauses to ask
if it is okay to use the Active X add-in. How do I get this to stop?



All times are GMT +1. The time now is 04:22 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com