Hi there, i'm a newbe of the site, have tryed to look for something similar to my questions but haven't had any luck, so here it is:
1) what kind of code i should write to interrupt a do-loop by pressing the ESC key?
2) may someone teach me why in the sub (of a text box)
Private Sub txtboxPOSTPONI_KeyPress(ByVal KeyAscii As MSForms.ReturnInteger)
If KeyAscii = 32 Then KeyAscii = 95
End Sub
if i press the space key (ascii 32) it's converted automatically in the text box in underscore (ascii 95)?. I mean the value is passed to the procedure 'BYVAL', so i presume it shouldn't change the character in the textbox, Hope to have explained the wuestions well
Thanks
Pierpaolo
1) what kind of code i should write to interrupt a do-loop by pressing the ESC key?
2) may someone teach me why in the sub (of a text box)
Private Sub txtboxPOSTPONI_KeyPress(ByVal KeyAscii As MSForms.ReturnInteger)
If KeyAscii = 32 Then KeyAscii = 95
End Sub
if i press the space key (ascii 32) it's converted automatically in the text box in underscore (ascii 95)?. I mean the value is passed to the procedure 'BYVAL', so i presume it shouldn't change the character in the textbox, Hope to have explained the wuestions well
Thanks
Pierpaolo