Greetings All,
I have a need to have Assess 03 automatically create or populate the first initials from a consumers names (i.e. John E. Doe = JOD) Is this possible?
And where would I insert the code?
Yarbz
if it is stored in a single field you could try splitting it by the line spaces....
ie.
Code:
Dim myName As String
Dim bldStr As String
Dim sItems() As String
Dim sItem As Variant
myName = "John E Doe"
bldStr = ""
sItems = Split(myName, " ")
For Each sItem In sItems
bldStr = bldStr & Left(sItem, 1)
Next
MsgBox bldStr
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.