G
Guest
I think I am having a brain fart.
I have a vba loop that is running in a module which also calls a form
that acts like a progress meter. The form is set up to be a pop-up form, so
the form is always on top - which shows the user the progress of the loop
'stuff'. The problem is this.
I want to give the user a way to cancel the operation. I give the user a
cancel button on the pop-up form, but cannot click it to execute it. I
believe this is due to the loop running in the module. How can I run the
loop in the background or be able to click on the cancel button to end the
request. I already have written code where if the user clicks the cancel
button it will end the routine, but cannot figure out what I must do to get
arrow back from the hourglass the click to work.
Thanks,
Jason
I have a vba loop that is running in a module which also calls a form
that acts like a progress meter. The form is set up to be a pop-up form, so
the form is always on top - which shows the user the progress of the loop
'stuff'. The problem is this.
I want to give the user a way to cancel the operation. I give the user a
cancel button on the pop-up form, but cannot click it to execute it. I
believe this is due to the loop running in the module. How can I run the
loop in the background or be able to click on the cancel button to end the
request. I already have written code where if the user clicks the cancel
button it will end the routine, but cannot figure out what I must do to get
arrow back from the hourglass the click to work.
Thanks,
Jason