Ottsel
Board Regular
- Joined
- Jun 4, 2022
- Messages
- 167
- Office Version
- 365
- Platform
- Windows
I have a case sensitive code that everyone tends to ignore and having to go back and fix everything to be in ALL CAPS can create a problem if left uncheck for a long period of time. Currently, I have 2 input boxes that appear requiring input, which a simple press of the 'caps lock' would work, but seems that's not simple enough.
Is there a way to have it, so when the input boxes appear that when users begin typing it will automatically have everything be capitalized?
'
'
'
Application.DisplayAlerts = False
Builder = InputBox("Please input the Builder Code.", "ABC Corp.")
ActiveWorkbook.Sheets.Add
Tract = InputBox("Next, input the Tract Code.", "ABC Corp.")
'Avoid error popup
If WorksheetExists(Tract) Then
MsgBox Tract & " already exists -" & vbCrLf & "Redirecting you there now.", _
vbInformation, "ABC Corp."
ActiveSheet.Delete
Sheets(Tract).Select
Application.DisplayAlerts = True
Exit Sub
Else
ActiveSheet.Name = Tract
End If
Currently, this is my InputBox Code selection. I removed the message boxes reminding to make everything capitalized, since its ignored already.
Is there a way to have it, so when the input boxes appear that when users begin typing it will automatically have everything be capitalized?
'
'
'
Application.DisplayAlerts = False
Builder = InputBox("Please input the Builder Code.", "ABC Corp.")
ActiveWorkbook.Sheets.Add
Tract = InputBox("Next, input the Tract Code.", "ABC Corp.")
'Avoid error popup
If WorksheetExists(Tract) Then
MsgBox Tract & " already exists -" & vbCrLf & "Redirecting you there now.", _
vbInformation, "ABC Corp."
ActiveSheet.Delete
Sheets(Tract).Select
Application.DisplayAlerts = True
Exit Sub
Else
ActiveSheet.Name = Tract
End If
Currently, this is my InputBox Code selection. I removed the message boxes reminding to make everything capitalized, since its ignored already.