sykes
Well-known Member
- Joined
- May 1, 2002
- Messages
- 1,885
- Office Version
- 365
- Platform
- Windows
Hi Chaps & chapesses
I'm working on a project with which I'm using several dialog sheets for user input etc etc.
After the first one is shown, the user makes a selection, which in turn brings up a message box with VByesno, and some text.
The user then selects y or n, and another dialog sheets pops up for them to enter some more data / make some more selections.
I notice that each time a new messagebox or dialog sheet comes up, the previous ones are still visible in the background. This isn't really a problem, apart from the fact that I can't get rid of them or close them down, when I want to, which tends to indicate that I'm not achieving everything I wish to in learning about Vba.
Eventually they do disappear when the last macro runs, which just activates a worksheet with all the results on, ready for the user to print.
I've tried using the object browser to determine the correct code, but to no avail.
to open them up, I'm just using :
dialogsheets("blah").show
which is fine, but to close them, I've tried visible = false, hide , show = false ,go away, why don't you just **** off?, but as I said, to no avail.
Ta, in advance
....and please keep up the good work on such a great site.
Sykes
I'm working on a project with which I'm using several dialog sheets for user input etc etc.
After the first one is shown, the user makes a selection, which in turn brings up a message box with VByesno, and some text.
The user then selects y or n, and another dialog sheets pops up for them to enter some more data / make some more selections.
I notice that each time a new messagebox or dialog sheet comes up, the previous ones are still visible in the background. This isn't really a problem, apart from the fact that I can't get rid of them or close them down, when I want to, which tends to indicate that I'm not achieving everything I wish to in learning about Vba.
Eventually they do disappear when the last macro runs, which just activates a worksheet with all the results on, ready for the user to print.
I've tried using the object browser to determine the correct code, but to no avail.
to open them up, I'm just using :
dialogsheets("blah").show
which is fine, but to close them, I've tried visible = false, hide , show = false ,go away, why don't you just **** off?, but as I said, to no avail.
Ta, in advance
....and please keep up the good work on such a great site.
Sykes