Solved

Automate a macro to run on a schedule.

Posted on 2004-04-12
2
423 Views
Last Modified: 2009-12-16
MSAccess 2000 on a windows 2000 Network. I have a table that I would like to copy out of the database into another database. I have a macro to do that but what I'm trying to do is schedule for that macro to run every night. I seen a third party app that can schedule a macro it was like 35 bucks. I'm just looking for any alternatives.

0
Comment
Question by:jaze95
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 77

Accepted Solution

by:
peter57r earned 200 total points
ID: 10807472
Hello jaze95,

Use the Windows scheduler to start Access with your database. Look at Scheduled tasks in Control Panel.  You can specify a macro to run when the database opens in the command line using the /X macroname switch.
See command line in Help.

Pete
0
 
LVL 39

Expert Comment

by:stevbe
ID: 10807559
0

Featured Post

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

It’s the first day of March, the weather is starting to warm up and the excitement of the upcoming St. Patrick’s Day holiday can be felt throughout the world.
You need to know the location of the Office templates folder, so that when you create new templates, they are saved to that location, and thus are available for selection when creating new documents.  The steps to find the Templates folder path are …
Learn how to number pages in an Access report over each group. Activate two pass printing by referencing the pages property: Add code to the Page Footers OnFormat event to capture the pages as there occur for each group. Use the pages property to …
In Microsoft Access, learn the trick to repeating sub-report headings at the top of each page. The problem with sub-reports and headings: Add a dummy group to the sub report using the expression =1: Set the “Repeat Section” property of the dummy…

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question