I'm trying to use the command line option /x <macro name> to work with Access XP So far I'm unsuccessful.

From the Run command I can get path_mydb.mdb to open but when I change it to path_mydb.mdb /x macro name it doesn'w work.

I want to use the task scheduler to trigger some things:

Running a Query and sending an attachment

Running a query and updating the records in a table.

Also in this regard I'm running into a problem with the first as Outlook sends a message saying that an outgoing message is happening you want to proceed. Is there a way to disable this feature.