Hello, I'm a new starter with Access VBA 
Can anyone let me know how to get vbProperCase to capitalise not just the first letter of each name but the third and forth letter of surnames beginning with Mc or Mac respectively as well? I also want to capitalise the first letter of each name in a hyphenated double-barrelled surname such as Bloggs-Smythe, which currently converts to Bloggs-smythe.
This is what I'm using now:
Private Sub CustomerLastName_AfterUpdate()
CustomerLastName = StrConv(CustomerLastName, vbProperCase)
End Sub
Thanks very much in advance.

Can anyone let me know how to get vbProperCase to capitalise not just the first letter of each name but the third and forth letter of surnames beginning with Mc or Mac respectively as well? I also want to capitalise the first letter of each name in a hyphenated double-barrelled surname such as Bloggs-Smythe, which currently converts to Bloggs-smythe.
This is what I'm using now:
Private Sub CustomerLastName_AfterUpdate()
CustomerLastName = StrConv(CustomerLastName, vbProperCase)
End Sub
Thanks very much in advance.