Running a report using Windows Scheduled Tasks

  • Thread starter TonyWilliams via AccessMonster.com
  • Start date
T

TonyWilliams via AccessMonster.com

I'm trying to run a report using Windows Schedule Tasks and am using this as
the command line:

"C:\Program Files\Microsoft Office\Office12\MSACCESS.EXE" "C:\Documents and
Settings\Owner\Desktop\TimeandBilling.accdb /X macinvoice"

The macro "macinvoice" should run the report when it's run. I set it to run
at 14.28 UK time today and it didn't.

When I save the Task I get a message to say that there has been an error
"0x80070005, access is denied , don't have permission to run requested task"
although the task is saved and I'm logged in as Owner.

Anyone any ideas?
Thanks
Tony
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top