Proper Case with extra rules in Excel

前端 未结 4 969
闹比i
闹比i 2021-01-25 00:19

I have used vba for Proper Case in Excel but I need to add an exception rule for it to save much manual editing. I need the first letter after \"-\" to also be Capitalized, exam

4条回答
  •  一向
    一向 (楼主)
    2021-01-25 00:59

    Is there any reason to do this in VBA when it's easily done on the worksheet?

    =PROPER("michael-jordan")
    

    returns Michael-Jordan as required

提交回复
热议问题