我想知道如何使用 VBA 并将 HTML 换行符(如 \r \n)转换为 Excel 单元格中的换行符。例如,我从 HTML 页面复制了以下文本字符串:
hello my name is pete \r\n\r\n here are a list of things I would like to do today: \r\n\r\n *wake up \r\n\r\n *eat breakfast
我希望它像这样显示在 Excel 中:
hello my name is pete
here are a list of things I would like to do today:
- wake up
- eat breakfast