用自定义函数解决:
Function ji(x As Range)
ji = x.Value
For i = 2 To 8 Step 2
ji = Replace(ji, i, "")
Next
End Function
Function ou(x As Range)
ou = x.Value
For i = 1 To 9 Step 2
ou = Replace(ou, i, "")
Next
End Function
用自定义函数解决:
Function ji(x As Range)
ji = x.Value
For i = 2 To 8 Step 2
ji = Replace(ji, i, "")
Next
End Function
Function ou(x As Range)
ou = x.Value
For i = 1 To 9 Step 2
ou = Replace(ou, i, "")
Next
End Function