D
Dominic Vella
I want to stop exectution of my code until another routine had finished
This is not the actual code I'm trying to create, but it is a sample of how
I want the code to halt.
Something like this:
Sub DoChanges
Dim intCount as integer
For intCount = 1 to 10000
Next intCount
DoCmd.Open Form "MyForm", , , ,acDialog
End Sub
Sub BigCalendar
DoChanges
' I'd like to halt here until timing has finished
MsgBox "Done"
End Sub
Is it possible to stop the code?
This is not the actual code I'm trying to create, but it is a sample of how
I want the code to halt.
Something like this:
Sub DoChanges
Dim intCount as integer
For intCount = 1 to 10000
Next intCount
DoCmd.Open Form "MyForm", , , ,acDialog
End Sub
Sub BigCalendar
DoChanges
' I'd like to halt here until timing has finished
MsgBox "Done"
End Sub
Is it possible to stop the code?