Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I need to make sure information entered in my message box
is in all caps. Is there a way to turn on the capslock in VBA? Thanks! |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Paula,
The easiest way is to allow the user to enter the information in any case, and then convert it to upper case. For example, Dim S As String S = InputBox("Enter Something") S = UCase(S) -- Cordially, Chip Pearson Microsoft MVP - Excel www.cpearson.com "Paula Osheroff" wrote in message ... I need to make sure information entered in my message box is in all caps. Is there a way to turn on the capslock in VBA? Thanks! |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Paula,
You can't input data into a messagebox! If you mean an InputBox then allow the user to input in whichever case they like and turn their input to upper case in code. MyString = InputBox ("Your input here") MyString = StrConv(MyString , 1) 'convert to all upper case HTH Henry "Paula Osheroff" wrote in message ... I need to make sure information entered in my message box is in all caps. Is there a way to turn on the capslock in VBA? Thanks! |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How to lock the Ctrl key? (as locking the Shift key w/Caps Lock) | Excel Discussion (Misc queries) | |||
Why does the caps lock not work on the # like 9 = ( & 0 = ) | Excel Discussion (Misc queries) | |||
is it possible to disable the CAPS LOCK key ? | Excel Discussion (Misc queries) | |||
How do I set caps lock as default? | Excel Worksheet Functions | |||
Caps Lock and excel help | Setting up and Configuration of Excel |