You are on page 1of 7

VBKeyAsciiValues

VisualBasicKeyAsciiValuescanrangefrom0to255.

HereisachartwhichshowsallpossibleKeyAsciivaluesalongwiththecharacterwhichtheyrepresent.
Totypeoutanyofthesecharacterswithoutpressingtheactualcharacteryoucandothis...
HolddowntheleftALTkeyonyourkeyboardandusingthenumberpadontherightofyourkeyboardtype
inthecorrespondingASCIIvalue.Forinstance,typingALT+66willyieldB.Fornumbersabove127use"0+
thenumber".
ForinstancetofindthecharacterwhichcorrespondstoKeyAsciivalue134youwouldtypeALT+0134which
yields.

VBKeyAsciiChart

Note:
KeyAsciivalues0to31arenonprintableandvalues128255areconsidered"Extended".These"extended"
codesmayvaryinappearancefromcomputertocomputer(andfromfonttofont),sousewithcaution.

0NUL(null)/Ctrl+Shift+@
1SOH(startofheading)//Ctrl+A
2STX(startoftext)//Ctrl+B
3ETX(endoftext)//Ctrl+C
4EOT(endoftransmission)//Ctrl+D
5ENQ(enquiry)//Ctrl+E
6ACK(acknowledge)//Ctrl+F
7BEL(bell)//Ctrl+G
8BS(backspace)//Ctrl+H
9TAB(horizonaltab)//Ctrl+I
10LF(NLlinefeed,newline)//Ctrl+J
11VT(verticaltab)//Ctrl+K
12FF(NPformfeed,newpage)//Ctrl+L
13CR(carriagereturn)//Ctrl+M
14SO(shiftout)//Ctrl+N
15SI(shiftin)//Ctrl+O
16DLE(datalineescape)//Ctrl+P
17DC1(devicecontrol1)//Ctrl+Q
18DC2(devicecontrol2)//Ctrl+R
19DC3(devicecontrol3)//Ctrl+S
20DC4(devicecontrol4)//Ctrl+T
21NAK(negativeacknowledge)//Ctrl+U
22SYN(synchronousidle)//Ctrl+V
23ETB(endoftrans.block)//Ctrl+W
24CAN(cancel)//Ctrl+X
25EM(endofmedium)//Ctrl+Y
26SUB(substitute)//Ctrl+Z
27ESC(escape)//Ctrl+[
28FS(fileseparator)//Ctrl+\
29GS(groupseparator)//Ctrl+]
30RS(recordseparator)//Ctrl+Shift+^
31US(unitseparator)//Ctrl+Shift+_
32Space
33!
34"
35#
36$
37%
38&
39'
40(
41)
42*
43+
44,
45
46.
47/
480
491
502
513
524
535
546
557
568
579
58:
59
60<
61=
62>
63?
64@
65A
66B
67C
68D
69E
70F
71G
72H
73I
74J
75K
76L
77M
78N
79O
80P
81Q
82R
83S
84T
85U
86V
87W
88X
89Y
90Z
91[
92\
93]
94^
95_
96`
97a
98b
99c
100d
101e
102f
103g
104h
105i
106j
107k
108l
109m
110n
111o
112p
113q
114r
115s
116t
117u
118v
119w
120x
121y
122z
123{
124|
125}
126~
127*DEL/CTRLBackspace
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255

*ASCIIcode127hasthecodeDEL.UnderMSDOS,thiscodehasthesameeffecthasASCII8(BS).The
DELcodecanbegeneratedbytheCTRL+BKSPkey.
Posted14thJanuary2013byjalalraza

You might also like