Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default setfocus after a msgbox


Thanks. that helped a lot.. :)
used different case though, much tighter.

Select Case KeyCode
Case Asc("0") To Asc("9"), Asc("."): 'proceed to next char
Case Else: 'do Nothing
KeyCode = 0
End Selec

--
simpleMo
-----------------------------------------------------------------------
simpleMod's Profile: http://www.excelforum.com/member.php...fo&userid=1572
View this thread: http://www.excelforum.com/showthread.php?threadid=27245

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default setfocus after a msgbox

Know what you mean, but I never combine case statements, just in case<g

--

HTH

RP

"simpleMod" wrote in message
...

Thanks. that helped a lot.. :)
used different case though, much tighter.

Select Case KeyCode
Case Asc("0") To Asc("9"), Asc("."): 'proceed to next char
Case Else: 'do Nothing
KeyCode = 0
End Select


--
simpleMod
------------------------------------------------------------------------
simpleMod's Profile:

http://www.excelforum.com/member.php...o&userid=15724
View this thread: http://www.excelforum.com/showthread...hreadid=272454



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
setfocus after a msgbox simpleMod[_2_] Excel Programming 1 October 26th 04 05:25 PM
setfocus after a msgbox simpleMod Excel Programming 1 October 26th 04 04:35 PM
SetFocus Problem Todd Huttenstine[_2_] Excel Programming 2 January 19th 04 10:50 PM
SetFocus using variable name Bob Phillips[_6_] Excel Programming 0 December 4th 03 09:47 PM
SetFocus Problems Zane Greer Excel Programming 1 September 20th 03 02:26 PM


All times are GMT +1. The time now is 08:31 AM.

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"