Be the first user to complete this post

  • 0
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
UCase
UCase

Also Read About  Other String() Functions

INSTR()                       |                         InstrREV()                       |                        LCase()

UCase()                      |                         Left()                                |                        Right()

LTrim()                        |                         Mid()                                 |                        Trim()

RTrim()                       |                        Replace()                          |                        Space()

Len()                           |                        StrComp()                         |                        String()



Also Read:

  1. VBA-Excel: String Functions – Space()
  2. VBA-Excel : Strings Functions – Instr
  3. VBA-Excel: Date-Time Functions – FormatDateTime()
  4. VBA-Excel: Date-Time Functions – DatePart()
  5. VBA-Excel: String Functions – Replace()
  6. VBA-Excel: Get all the WeekDays or Working days in Specified Date Range, (excluding Satudays and Sundays)
  7. VBA-Excel: Arrays – Two Dimension, Dynamic Array
  8. VBA-Excel: String Functions – Trim()