Macro that shows Start and Stop times of queries

TBC

Registered User.
Local time
Yesterday, 16:23
Joined
Dec 6, 2010
Messages
145
I know there is away to in a macro show the start and stop times of the actions/queries that run in a macro.

Could someone please remind me how this is down again?

Thanks for your help
TCB
 
Chuck something like this in before and after action1
Code:
Dim Action1Start
dim Action1Finish

'about to start action1 so...
Action1Start = Now()

'code for action1 goes here
'code finishes here

Action1Finish = Now()

msgbox "Action1 started at " & Action1Start & vbnewline & "Action1 Finished at " & Action1Finish
 
I dont quit follow, would I just place this code in a vba
 

Users who are viewing this thread

Back
Top Bottom