Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CODE FOR NOT TO CAPTURE THIS CHARACTER

Status
Not open for further replies.

lizz3030

Technical User
Feb 12, 2004
8
MX
HI EVERYBODY..

I don't know what do for that in the form it is display this character (/) for example:

The data is 524/012/04 in TextBox but, I capture this character ( / ), there is some code for not to capture this character.

THANKS A LOT BY THEIR ATTENTION..
 
Welcome to Tek-Tips. To get the best from the forum read (and be guided by) faq222-2244

For this question just replace the character with an empty string:

myOldText = "22/44"
myNewText = Replace(myOldText,"/","")

For details look up Replace in VBHelp

________________________________________________________________
If you want to get the best response to a question, please check out FAQ222-2244 first

'If we're supposed to work in Hex, why have we only got A fingers?'
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top