我正在寻找如何在 excel 2016 中搜索和替换中断的解决方案。我尝试搜索
\n
也
ctrl + j
这对我不起作用。
Excel中有两个硬回车,试试:
Sub ThePointOfNoReturn()
Dim s1 As String, s2 As String, s3 As String
s1 = Chr(10)
s2 = Chr(13)
s3 = "whatever"
Cells.Replace What:=s1, Replacement:=s3
Cells.Replace What:=s2, Replacement:=s3
End Sub
编辑#1:
克里斯尼尔森在这里的回答涵盖了 寻找“其他”回报:这里