Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Automate a macro to run on a schedule.

Posted on 2004-04-12
2
Medium Priority
?
431 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
2 Comments
 
LVL 77

Accepted Solution

by:
peter57r earned 600 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

Become an Android App Developer

Ready to kick start your career in 2018? Learn how to build an Android app in January’s Course of the Month and open the door to new opportunities.

Question has a verified solution.

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

Windows Explorer let you handle zip folders nearly as any other folder: Copy, move, change, and delete, etc. In VBA you can also handle normal files and folders, but zip folders takes a little more - and that you'll find here.
Beware when using the ListIndex and the Column() properties of a listbox in Access 2007.  A bug has been identified in the Access 2007 listbox code which can cause the .ListIndex property to return a -1, and the .Columns(#) property to return a NULL…
With Microsoft Access, learn how to start a database in different ways and produce different start-up actions allowing you to use a single database to perform multiple tasks. Specify a start-up form through options: Specify an Autoexec macro: Us…
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …
Suggested Courses

578 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