Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / New Users / April 2008

Tip: Looking for answers? Try searching our database.

Excell 2003 - VBA - Controlling Uppercase on Input

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Craig Brandt - 28 Apr 2008 23:02 GMT
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 - 28 Apr 2008 23:17 GMT
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.

> Hi Guys:
>
[quoted text clipped - 10 lines]
> Thanks,
> Craig

Signature

Dave Peterson

Craig Brandt - 29 Apr 2008 14:43 GMT
This is exactly what I was looking for.

Thanks Dave.

> Don't bother the user:
>
[quoted text clipped - 16 lines]
> > Thanks,
> > Craig
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.