Close a dialog Sheet

Daniel Cremin

Board Regular
Joined
Feb 23, 2002
Messages
64
Hi ppl i just need the code to close down a running old-style dialog sheet - .hide only makes it not active on screen, i need a way to close it down. Thanks
 

Excel Facts

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.
Try this :

Unload YourUserForm
or
Unload YourDialogSheet

This message was edited by Bruno on 2002-03-05 00:52
 
Last edited by a moderator:
Upvote 0
thanks for the tip, I actually know how to create and run modern dialog forms, the only prob is its a pre USERFORM (excel 97) type of Dialog Sheet that im making at the moment (you know the one where you can build it in Excel).
Ne one know the code to close it.
 
Upvote 0
Hi Daniel
I don't know why the dialoogsheet is still there after hitting the OK button and .hide it...
Maybe you have to force a display update with : Do Events
 
Upvote 0

Forum statistics

Threads
1,213,530
Messages
6,114,163
Members
448,554
Latest member
Gleisner2

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top