Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
For the following line of code:
UserVal = Application.InputBox("Symbol?", , , , , , , 2), irrespective of what I type, when it is later retrieved, I'd like all the characters stored in UserVal to be uppercase, not lowercase. So, if I type "ibm," I'd prefer it to be saved as "IBM." It'll save me toggling the Caps Lock key on and off! My thanks in advance for any help. Brad |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi Brad,
Try: UserVal =Ucase( Application.InputBox("Symbol?", , , , , , , 2), ) --- Regards, Norman "Brad" wrote in message ... For the following line of code: UserVal = Application.InputBox("Symbol?", , , , , , , 2), irrespective of what I type, when it is later retrieved, I'd like all the characters stored in UserVal to be uppercase, not lowercase. So, if I type "ibm," I'd prefer it to be saved as "IBM." It'll save me toggling the Caps Lock key on and off! My thanks in advance for any help. Brad |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
use the Ucase() function in your assignment statement.
StorageSpot = Ucase(input) |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi Brad, i had the same problem and i solved it with the following
userVal1 = Application.InputBox("Symbol?", , , , , , , 2), userVal = uCase(userVal1) This will make all in userVal Caps Hope this helps, best regards, Tempy *** Sent via Developersdex http://www.developersdex.com *** |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Uppercase | Excel Discussion (Misc queries) | |||
Uppercase | Excel Discussion (Misc queries) | |||
Searching Uppercase characters | Excel Discussion (Misc queries) | |||
Uppercase help | Excel Discussion (Misc queries) | |||
Uppercase | Excel Worksheet Functions |