Function Character Types Class

IsUpper

"Is Character Upper Case Alphabetic" Return True if the character with ASCII value vCharCode is an upper-case alphabetic character ("A"..."Z", accented upper-case characters like C-circumflex, etc.). Return False otherwise.

Signature (Visual Basic / VBA)

Public Function IsUpper( _
    ByVal vCharCode As Integer _
    ) As Boolean

Code Example

    IsUpper(Asc("C")) = True
    IsUpper(Asc("c")) = False
    IsUpper(Asc("2")) = False

Parameters

Parameter Description
vCharCode Character whose ASCII value is checked to determine if it belongs to the upper-case alphabetic class.

Notes & Version History

Note Function will generate a runtime error if vCharCode is not between 0 (zero) and 255 inclusive.