View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
simpleMod[_3_] simpleMod[_3_] is offline
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