Private Sub ProperCaseNotPrepositions_Click()
Dim TextToConvert As String
Dim TextConverted As String
TextToConvert = Trim(TextToConvert)
TextToConvert = Application.WorksheetFunction.Proper(TextToConvert)
On Error Resume Next
TextConverted = Application.WorksheetFunction.Substitute(TextToConvert, " A ", " a ")
TextConverted = Application.WorksheetFunction.Substitute(TextConverted, " About ", " about ")
TextConverted = Application.WorksheetFunction.Substitute(TextConverted, " After ", " after ")
TextConverted = Application.WorksheetFunction.Substitute(TextConverted, " In ", " in ")
TextConverted = Application.WorksheetFunction.Substitute(TextConverted, " On ", " on ")
TextConverted = Application.WorksheetFunction.Substitute(TextConverted, " Onto ", " onto ")
TextConverted = Application.WorksheetFunction.Substitute(TextConverted, " Or ", " or ")
TextConverted = Application.WorksheetFunction.Substitute(TextConverted, " Out ", " out ")
TextBox2.Text = TextConverted
TextBox2.SetFocus
End Sub