Public Function fIs_UCase(strText As String) As Boolean
Dim i As Long
Dim lenText As Long
lenText = Len(strText)
fIs_UCase = False
For i = 1 To lenText
If Asc(Mid(strText, i, 1)) >= 65 And Asc(Mid(strText, i, 1)) <= 90 Then
fIs_UCase = True
Exit Function
End If
Next i
End Function