Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Viewing all articles
Browse latest Browse all 21238

Adding Dashes Automatically into Text Box

$
0
0
Hi,

I'm looking to add dashes automatically into a text box.

The text box is used for entering a number in this format: ###-###-###

How do I add the dashes automatically? I totally lost.

BTW, I'm coding in VBA if that makes a difference

Thanks!

EDIT:
So the user enters into textbox: 123456789
And it automatically becomes: 123-456-789
Thanks.

Viewing all articles
Browse latest Browse all 21238

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>