Thread: ANSI codes
View Single Post
  #7   Report Post  
Posted to microsoft.public.excel.programming
losmac losmac is offline
external usenet poster
 
Posts: 27
Default ANSI codes

Insert new form and code below:

Private Sub UserForm_KeyPress(ByVal KeyAscii As MSForms.ReturnInteger)
MsgBox "Your code ASCII: " & KeyAscii
End Sub

View form and press any key You want!


I couldn't find a list of ANSI codes through Google; I'm especially
interested in the codes for things like Tab and Return. Where might I find
one?