Excel VBA: How to remove substrings from a cell?

前端 未结 4 858
离开以前
离开以前 2021-01-06 08:01

I have a cell value like this:

This is a <\"string\">string, It should be <\"changed\">changed to <\"a\"> a number.

There

4条回答
  •  孤城傲影
    2021-01-06 08:42

    U can Use Replace function

    ActiveSheet.Cells(1, 1).Value = Replace(ActiveSheet.Cells(1, 1).Value, "String", "Number")
    

提交回复
热议问题