Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Master reset code bug - stumped again


Am using the following code to reset all userforms - the issue is that
after the sub has executed the 'hour glass' remains displayed until I
move the mouse.

Private Sub CommandButton37_click()
YesNo = MsgBox("This action will clear all benefits data, do you want
to continue?", vbYesNo + vbCritical, "Caution!")
Select Case YesNo
Case vbYes

Case vbNo

Exit Sub
End Select

Load UserForm3
UserForm3.Reset_Click
Unload UserForm3

Load UserForm4
UserForm4.Reset_Click
Unload UserForm4

Load UserForm5
UserForm5.Reset_Click
Unload UserForm5

End sub

Any ideas on how to fix this is appreciated

Cheers

Peter (new to VBA)


--
peter.thompson
------------------------------------------------------------------------
peter.thompson's Profile: http://www.excelforum.com/member.php...o&userid=29686
View this thread: http://www.excelforum.com/showthread...hreadid=498932

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Master reset code bug - stumped again


Problem now fixed up - my induced bug!

Peter


--
peter.thompson
------------------------------------------------------------------------
peter.thompson's Profile: http://www.excelforum.com/member.php...o&userid=29686
View this thread: http://www.excelforum.com/showthread...hreadid=498932

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
Reset button code for Radio Buttons [email protected] Excel Discussion (Misc queries) 6 August 25th 12 03:09 PM
Master reset code -stumped peter.thompson[_24_] Excel Programming 6 January 7th 06 01:35 AM
Code Halt - prevents reset of the AutomationSecurity level Walt[_3_] Excel Programming 8 March 24th 05 06:55 PM
Reset Used Range, Debra Dalgliesh's code Otto Moehrbach[_6_] Excel Programming 2 August 9th 04 02:18 AM
How do I reset the LastUsed cell reference from code. Henry[_4_] Excel Programming 2 October 12th 03 09:34 PM


All times are GMT +1. The time now is 11:35 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"