在C列中,会有几个不同的值。如果单元格末尾有一个“,我需要将其删除。
If .Cells(rw, 3).Value Like "*"*" Then
Run Code Online (Sandbox Code Playgroud)
不知道要在“然后”中添加什么
我会那样做
If Right(.Cells(rw, 3).Value, 1) = Chr(34) Then
.Cells(rw, 3).Value = Left(.Cells(rw, 3).Value, Len(.Cells(rw, 3).Value) - 1)
End If
Run Code Online (Sandbox Code Playgroud)