J
jfcby
Hello,
Beginning with row4 in ColumnE my data has CO125. I want to cut the CO
and paste it in ColumnF.
This is the macro I've got so far:
Sub DeleteCharacters()
'
Dim strS, strC
Set Rng = Range("B765000")
For Each cell In Rng
strS = "CO"
strC = Left(cell, 2)
If strC = strS Then
strC.Select
Selection.Cut
ElseIf cell.Value = "" Then
Exit Sub
End If
Next
End Sub
Thank you for your help,
jfcby
Beginning with row4 in ColumnE my data has CO125. I want to cut the CO
and paste it in ColumnF.
This is the macro I've got so far:
Sub DeleteCharacters()
'
Dim strS, strC
Set Rng = Range("B765000")
For Each cell In Rng
strS = "CO"
strC = Left(cell, 2)
If strC = strS Then
strC.Select
Selection.Cut
ElseIf cell.Value = "" Then
Exit Sub
End If
Next
End Sub
Thank you for your help,
jfcby