ThaNguyen
01-27-2010, 10:47 AM
Hi all,
I have a macros run from Excel see below
Set AccessApp = GetObject("Y:\Orders.mdb", "Access.Application")
AccessApp.DoCmd.RunMacro "AutoUpdate"
Which is working fine before it would run the "AutoUpdate" and goes on to the next statement. Now it would prompt a Security Warning the you have to click on Open for it to continued.
How do I turn this warning off or have to code continue to go through without click on open.
I think there is some setting in the Reference that might have been missed.
Thank you in advance.
I have a macros run from Excel see below
Set AccessApp = GetObject("Y:\Orders.mdb", "Access.Application")
AccessApp.DoCmd.RunMacro "AutoUpdate"
Which is working fine before it would run the "AutoUpdate" and goes on to the next statement. Now it would prompt a Security Warning the you have to click on Open for it to continued.
How do I turn this warning off or have to code continue to go through without click on open.
I think there is some setting in the Reference that might have been missed.
Thank you in advance.