Go Back   Trackpads Community > General Discussions > Computer and Technology > Microsoft Applications

Microsoft Applications Discussions about Windows and other MS Products such as Office

Reply
 
LinkBack Thread Tools
Old 06-16-2004, 03:44   #1 (permalink)
De Wilde Eddy
Civilians

 
Default How to close a userform close protected

If you want to prevent a Userform from closing when the user clicks the
x-button in the top right corner of the dialog.......
I tried the suggested Macro and it worked.
But now I cannot close it myself.
Is there a special way to do so because I need to return to my
worksheet?


---
Message posted from http://www.ExcelForum.com/

 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Trackpads Information
Click to Visit
Old 06-16-2004, 03:46   #2 (permalink)
Ken Macksey
Civilians

 
Default Re: How to close a userform close protected

Hi

Try pressing the Control key(ctrl) and while holding it down, press the
Break Key.
Now put a command button on the userform and in the command button click sub
put Userform1.hide


HTH

Ken




---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.692 / Virus Database: 453 - Release Date: 28/05/2004


 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Close combat drills prepare recruits for close calls in battle, Dec 1 Master_Blastard DefenseLink 0 12-01-2006 19:02
Protected PPT files causing VB SaveAs and Close errors... Paul Microsoft Applications 3 08-13-2005 04:00
userform - close Siegfried Microsoft Applications 3 04-24-2005 16:00
how can I close a UserForm using a shortcut key ? Rob Microsoft Applications 2 11-28-2004 10:00
Close look at the MGS! Hannibal Army 31 06-14-2004 21:05


Community Information
Options
Quick Options
Trackpads Non-Commercial Ad
Copyright Information Click to Visit
Time
Server Time
All times are GMT -4. The time now is 13:29.
Copyright
Copyright Information
The header is based off of work by Vipixel.com and modified by this site. Trackpads and the Trackpads Logo are both Registered Trademarks of Jason Edwards and cannot be used without prior written permission.  The only exception is as a link back to this site. Trackpads is a private website run by a small legion of volunteers, 3 dogs, 12.5 cats and an army of small, super smart, bio-engineered mice with pointy hats and tutu's. Search Engine Friendly URLs by vBSEO 3.2.0 RC7
Archive Links
Archive Links
Page generated in 0.61761 seconds with 19 queries