Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Public Function TitleCase(sVal As String) As String
Dim i As Long, sChar As String, bFlag As Boolean
bFlag = False
TitleCase = ""
For i = 1 To Len(sVal)
sChar = Left(sVal, 1)
sVal = Right(sVal, Len(sVal) - 1)
If i = 1 Or bFlag = True Then
TitleCase = TitleCase & UCase(sChar)
bFlag = False
Else
TitleCase = TitleCase & LCase(sChar)
End If
If sChar = " " Then bFlag = True
Next i
End Function