Access runtime error 3270 on AutoExec macro

HKFuey used Ask the Experts™
Access runtime error 3270

Trying to open Access from another App with parameters.

This normally works:
"C:\Program Files\DBName\MyDb.accde" /CMD S%key

It sends a parameter to the DB and the DB opens with a query on that parameter. On one client I'm getting a box "Macro Single Step" (SeeScreenshot Pic)

PC is Win 10, it has Office 365 installed, I'm running Access from runtime version 2013.

Anyone know how to fix this?
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
John TsioumprisSoftware & Systems Engineer

Have you put the file in one of the Trusted Locations to have VBA enabled ?
John TsioumprisSoftware & Systems Engineer

You can also use the utility from here :
to set the Trusted Locations
Ryan ChongSoftware Team Lead

I would guess there was some error in your function/sub "CheckAndOpen". are you able to debug the codes or show out the error description?
What does the macro look like?
Hi All,
Thanks for your input, it is now working, I don't know what's changed, this app is in use by numerous people without issue.

They were using a SonicWall VPN and I think this may have blocked local network access...

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial