Hello all,
I need the macro created below to preform same action in subsequent rows, same column. I though the range copy method would work, but I am missing something.
Sub RemoveHypens()
Dim the_string As String
the_string = Sheets("Gopher Items CSV Test").Range("E3")
the_string = Replace(the_string, "-", "")
Sheets("Gopher Items CSV Test").Range("E3") = the_string
End Sub
Sub Range_Copy()
Dim r
Set r = Selection.Cells(1).EntireRow.Range("E3") 'relative to row, not sheet
Sheets("Gopher Items CSV Test").Range("E").Copy r
End Sub
I need the macro created below to preform same action in subsequent rows, same column. I though the range copy method would work, but I am missing something.
Sub RemoveHypens()
Dim the_string As String
the_string = Sheets("Gopher Items CSV Test").Range("E3")
the_string = Replace(the_string, "-", "")
Sheets("Gopher Items CSV Test").Range("E3") = the_string
End Sub
Sub Range_Copy()
Dim r
Set r = Selection.Cells(1).EntireRow.Range("E3") 'relative to row, not sheet
Sheets("Gopher Items CSV Test").Range("E").Copy r
End Sub