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 Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to set input mask dynamically in VBA

Status
Not open for further replies.

sweetcats09

Programmer
Joined
Feb 5, 2007
Messages
7
Location
US
Hi

I am trying to set input mask as
A followed my 9 digits..
example A123456789

I want A to be constant using code in VBA

Control.InputMask = "A999999999;0;_"

results in A being any alphabet. I want A to be a constant
as A_________

Can anyone help me with this?

Thanks
 
Hi & welcome to Tek-Tips. Please read faq222-2244 to see how to get the best from these forums. In this case try posting VBA questions in the VBA forum (forum707) as this forum is specific to VB5/6 questions

___________________________________________________________
If you want 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?'
Drive a Steam Roller
Steam Engine Prints
 
Thanks...
I'll make sure I get to correct forum :-)

TC
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top