使用Excel中的分隔符将单行单元格拆分为多行单元格

时间:2018-05-15 14:59:29

标签: excel-vba vba excel

我有大量数据,接下来的图像格式有近500个数据单元格。请提出一些建议来帮助我。

Single lined cell to multiline cell using delimeter

P.S:我是Excel Vba的初学者

1 个答案:

答案 0 :(得分:1)

在:

enter image description here

代码:

Sub FixThisSheet()
    Cells.Replace What:=";", replacement:=Chr(10)
    Cells.WrapText = True
End Sub

后:

enter image description here

相关问题