![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
MrExcel MVP
Join Date: Feb 2002
Location: Christchurch New Zealand
Posts: 1,030
|
is there a loop that could pause a macro by 30 secs?
But not application.wait? [ This Message was edited by: brettvba on 2002-04-15 16:20 ] |
|
|
|
|
|
#2 |
|
MrExcel MVP
Join Date: Feb 2002
Location: Christchurch New Zealand
Posts: 1,030
|
don't worry I have worked it out
Sub pause() Dim mRunTime mRunTime = Now + TimeValue("00:00:30") Application.OnTime mRunTime, "back" End Sub |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|