答案 0 :(得分:0)
请尝试此公式=MID(A1,FIND("/",A1)+1,LEN(A1)-FIND("/",A1))
答案 1 :(得分:0)
试试这段代码:
Sub Test2()
Dim CL As Range, CLv As String, a As Long
For Each CL In ActiveSheet.UsedRange
CLv = CL.Value
a = InStr(1, CLv, "/")
If a <> 0 Then
If IsNumeric(Left(CLv, a - 1)) Then
CL.Value = Right(CLv, Len(CLv) - a)
End If
End If
Next
End Sub
修改强>:
或者此代码(仅当单元格值以数字开头时才删除):
$.ajaxSetup({
async: false // <--- remove this
});