Discussion:
vbBack... not like a backspace
(too old to reply)
rci
2006-11-22 20:43:31 UTC
Permalink
Hi all...

I want to create a keyboard in excel, including the backspace key, to make a
string.

Simple enough String=String & TheKey

But for the backspace... I wanted to ue vbBack to remove the final character
in the string... but it doesn't actually seem to work that way, and vbBack
shows up as a non printable character (represented by a square) in my text
box.

What might I be doing wrong here? Maybe there is no easy way...

Thx...
Andrew Taylor
2006-11-22 20:46:51 UTC
Permalink
Try this:
myString = Left(myString, Len(myString) - 1)
Post by rci
Hi all...
I want to create a keyboard in excel, including the backspace key, to make a
string.
Simple enough String=String & TheKey
But for the backspace... I wanted to ue vbBack to remove the final character
in the string... but it doesn't actually seem to work that way, and vbBack
shows up as a non printable character (represented by a square) in my text
box.
What might I be doing wrong here? Maybe there is no easy way...
Thx...
Continue reading on narkive:
Search results for 'vbBack... not like a backspace' (Questions and Answers)
5
replies
(Visual Basic 6) what does VBCRLF mean?????
started 2007-05-06 20:51:48 UTC
programming & design
Loading...