![]() ![]() 'If bExcl = True, words in the exclusion list are retained as lower-case, unless after specified punctuation marks.ĭim i As Long, j As Long, k As Long, l As Long, bFnd As Booleanĭim StrChr As String, StrExcl As String, StrMac As String, StrPunct As String, StrTmpA As String, StrTmpB As String 'If bClos = False, words in the exclusion list after closing characters are retained as lower-case otherwise they're converted. 'If bCaps = True, then upper-case strings like ABC are preserved otherwise they're converted. 'Surnames like O', Mc & Mac and hyphenated names are converted to title case also. ' Added Let to beginning of variable definitions CKK ' Goes with MakeTitle and HeadingMakeTitle macros Private Function TitleCase(StrTxt As String, Optional bCaps As Boolean, Optional bClos As Boolean, Optional bExcl As Boolean) As String StrTmp = TitleCase(StrTmp, bCaps:=False, bExcl:=False) Let StrTmp = TitleCase(StrTmp, bCaps:=False, bExcl:=False) Let StrTmp = Left(StrTmp, Len(StrTmp) - 1) ![]() ' Converts selected text to true Title Case However, there is a macro set written by Paul Edstein that will do it. ![]() There is no such setting or combination of settings. Nevertheless, I hope that I can be of some help. While I've used Word on a Mac, that was a long time ago. That version is similar, but the two are not the same. I do not have a Mac and am writing from my experiences with the Windows version.
0 Comments
Leave a Reply. |