Using Proper function to Format Worksheet

Is there a way to use the "Proper" function to format an entire worksheet. I want to convert a mainframe download in all caps to the "Proper" method (i.e. JAMES BROWN -> James Brown). I assume I will need to write a macro using VBA. Does anyone have any thoughts on how this is done

Thanks!



Answer this question

Using Proper function to Format Worksheet

  • dr.acv

    Dim cc As Variant
    For Each cc In Sheet1.UsedRange.Cells
    cc.Value = Application.WorksheetFunction.Proper(cc.Value)
    Next cc


  • Sianspheric

    Thanks! Works like a charm. I haven't written any VBA for Excel - or if I have it's been 7+ years ago.
  • Using Proper function to Format Worksheet