Removing All Spaces in String

后端 未结 7 1354
滥情空心
滥情空心 2021-01-11 13:33

I created a macro for removing all whitespace in a string, specifically an email address. However it only removes about 95% of the whitespace, and leaves a few.

My c

相关标签:
7条回答
  • 2021-01-11 14:08

    Because you assume that Selection.Cells includes all cells on the sheet.

    Cells.Replace " ", ""
    
    0 讨论(0)
提交回复
热议问题