Try something like the following untested air-code:
Function FirstCapital(InputString As String) As Long
' returns 0 if no capital found
Dim lngFirstCapital As Long
Dim lngLoop As Long
Dim strCurrChar As String
lngFirstCapital = 0
For lngLoop = 1 To Len(InputString)
strCurrChar = Mid$(InputString, lngLoop, 1)
If Asc(strCurrChar) >= 65 And _
Asc(strCurrChar) <= 90 Then
lngFirstCapital = lngLoop
Exit For
End If
Next lngLoop
FirstCapital = lngFirstCapital
End Function

Signature
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no e-mails, please!)
> Does anyone have some code I can use to find the first capital letter in a
> string?
[quoted text clipped - 4 lines]
> Thanks
> Hans
hans.stope@shaw.ca - 31 Mar 2007 05:36 GMT
Thanks Doug, That was awesome. It helped me finish my project.
Thanks again,
Hans