I need to add a hyphen in the 6th character to a column of data. I have 232 cells in this column.
My code does not give me any errors but it also does not insert anything. Any help would be appreciated.
My code does not give me any errors but it also does not insert anything. Any help would be appreciated.
Code:
Sub dashSN()
'
Dim myString As String
' dashSN Macro
'
For i = 2 To 232
Cells(i, 1).Select
myString = "-"
Midwords = Mid(myString, 6, 7)
Next i
'
End Sub