Sub Replace_comma()
With [F:F] '學號的欄位
.Replace ",", "", xlWhole '將,刪除
End With
End Sub
結果:沒反應
Sub Replace_comma()
Range("F:F").Select
Selection.Replace What:=",", Replacement:="", LookAt:=xlPart, _
SearchOrder:=xlByRows, MatchCase:=False, SearchFormat:=False, _
ReplaceFormat:=False
End Sub