![]() |
|
|
Welcome to the { mindfrost82.com } forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact us. |
|
|||||||
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
|
|||
|
Excell 2003 - VBA - Controlling Uppercase on Input
Hi Guys:
I am using InputBox to permit input to a routine and would like to limit the alpha-numeric input to use uppercase characters only. This is the line I am using: NewClient = InputBox("SNAM of New Client (AAA123)") Is there a way to limit the alpha characters to uppercase only within the inputBox line? Thanks, Craig |
|
|||
|
Re: Excell 2003 - VBA - Controlling Uppercase on Input
Don't bother the user:
NewClient = ucase(InputBox("SNAM of New Client (AAA123)")) But there's no way to do this kind of masking using an inputbox. Craig Brandt wrote: > > Hi Guys: > > I am using InputBox to permit input to a routine and would like to limit the > alpha-numeric input to use uppercase characters only. > > This is the line I am using: > > NewClient = InputBox("SNAM of New Client (AAA123)") > > Is there a way to limit the alpha characters to uppercase only within the > inputBox line? > > Thanks, > Craig -- Dave Peterson |
|
|||
|
Re: Excell 2003 - VBA - Controlling Uppercase on Input - Thanks Dave
This is exactly what I was looking for.
Thanks Dave. "Dave Peterson" <petersod@verizonXSPAM.net> wrote in message news:48164D10.8CB6F1E9@verizonXSPAM.net... > Don't bother the user: > > NewClient = ucase(InputBox("SNAM of New Client (AAA123)")) > > But there's no way to do this kind of masking using an inputbox. > > Craig Brandt wrote: > > > > Hi Guys: > > > > I am using InputBox to permit input to a routine and would like to limit the > > alpha-numeric input to use uppercase characters only. > > > > This is the line I am using: > > > > NewClient = InputBox("SNAM of New Client (AAA123)") > > > > Is there a way to limit the alpha characters to uppercase only within the > > inputBox line? > > > > Thanks, > > Craig > > -- > > Dave Peterson |
![]() |
|
| Thread Tools | Search this Thread |
| Display Modes | |
|
|