Funcția VBA a UCASE convertește un șir de caractere în majuscule.
UCase(text)
Conversia unui șir în majuscule:
Sub UCaseExample()
text = "Ref-45-X-876-rt"
text = UCase(text)
MsgBox text 'Returnări: REF-45-X-876-RT
End Sub