Be the first user to complete this post
|
Add to List |
VBA-Excel : Strings Functions – Ucase
Description:
This function converts the input string to Upper case.
Format:
UCase(strString)
Arguments:
- strString
- Mandatory
- Type: String
- String whose characters to be converted in Upper case.
Function FnUpperCase() Dim mainString mainString = "SumitJain" MsgBox UCase(mainString) End Function

Also Read About Other String() Functions
INSTR() | InstrREV() | LCase()
Also Read:
- VBA Excel – Looping Through a Range of Cells
- VBA-Excel: Date-Time Functions – DateValue()
- VBA-Excel : 3D-Ranges – FillAcrossSheets Method
- VBA-Excel: Array Functions – LBound and UBound()
- VBA-Excel : Strings Functions – Instr