Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default closing user form


I have a sort routine that starts with a user form to get input and then
opens a series of input boxes. I have the hide command for the user form
but the form does not go away untill all the input boxes have been
filled. i would like the user form to close right away.


--
hwolf60
------------------------------------------------------------------------
hwolf60's Profile: http://www.excelforum.com/member.php...o&userid=17492
View this thread: http://www.excelforum.com/showthread...hreadid=480093

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 126
Default closing user form

Without seeing the code, this is just a guess.

Add a DoEvents after the Hide.

Alternatively, and depending on what you are doing, consider
{userform}.Repaint

--
Regards,

Tushar Mehta
www.tushar-mehta.com
Multi-disciplinary business expertise
+ Technology skills
= Optimal solution to your business problem
Recipient Microsoft MVP award 2000-2005

In article ,
says...

I have a sort routine that starts with a user form to get input and then
opens a series of input boxes. I have the hide command for the user form
but the form does not go away untill all the input boxes have been
filled. i would like the user form to close right away.


--
hwolf60
------------------------------------------------------------------------
hwolf60's Profile:
http://www.excelforum.com/member.php...o&userid=17492
View this thread: http://www.excelforum.com/showthread...hreadid=480093


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default closing user form


Thanks,
I tried, but it didn't help.
Henry


--
hwolf60
------------------------------------------------------------------------
hwolf60's Profile: http://www.excelforum.com/member.php...o&userid=17492
View this thread: http://www.excelforum.com/showthread...hreadid=480093

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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
Closing Excel user form generates error Ken Warthen Excel Discussion (Misc queries) 0 October 10th 07 08:30 PM
Closing a Form Mike Excel Discussion (Misc queries) 2 March 14th 06 01:09 PM
Closing user form in Initialize macro? Don Wiss Excel Programming 4 April 20th 05 08:22 AM
How to: User Form to assign a user defined range to a macro variab TrevTrav Excel Programming 1 March 22nd 05 07:57 PM
HELP! - Closing form Alex J Excel Programming 1 September 17th 04 01:37 AM


All times are GMT +1. The time now is 03:27 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"