Wrox Programmer Forums
|
Access VBA Discuss using VBA for Access programming.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access VBA section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old April 5th, 2007, 08:56 AM
Authorized User
 
Join Date: Apr 2006
Posts: 53
Thanks: 0
Thanked 0 Times in 0 Posts
Default Pause between macros

Hi there,

Im looking for a way to pause lets say 10 seconds between two macro's
I used timerinterval as a function and inserted "Run code inbetween two macros but nothing happened." this is the function which I am calling.

Function pause()
TimerInterval = 20000
End Function

anyhelp is welcome....



 
Old April 5th, 2007, 09:01 AM
Friend of Wrox
 
Join Date: Mar 2007
Posts: 432
Thanks: 0
Thanked 1 Time in 1 Post
Default

Hi Paul,

While pausing, do you want any other code to run? Why is the pause necessary?
Just want to understand a bit more about your problem.

Rob

 
Old April 6th, 2007, 01:40 AM
Authorized User
 
Join Date: Apr 2006
Posts: 53
Thanks: 0
Thanked 0 Times in 0 Posts
Default

The pause is needed because another database is should run first and when this is completed the 2nd macro can start..







Similar Threads
Thread Thread Starter Forum Replies Last Post
How Can I Pause Loop dsmike2008 VB How-To 5 July 18th, 2008 01:01 PM
Pause Code stealthdevil Access VBA 5 February 5th, 2007 12:48 PM
"Pause" Checking ... tonyrosen Excel VBA 2 November 23rd, 2005 11:02 AM
Pause Printing rajanikrishna Pro VB 6 0 November 28th, 2004 09:13 PM
Add a Pause snowy0 VB.NET 2002/2003 Basics 3 February 1st, 2004 12:17 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.