Option Explicit
Sub addPeriod()
Dim lr As Long, i As Long
lr = Range("F" & Rows.Count).End(xlUp).Row
Application.ScreenUpdating = False
For i = 2 To lr
Range("F" & i) = Range("F" & i) & "."
Next i
Application.ScreenUpdating = True
MsgBox "Action Completed"
End Sub
Sub aTest()
Dim lastRow As Long
lastRow = Cells(Rows.Count, "F").End(xlUp).Row
With Range("F2:F" & lastRow)
.Value = Evaluate("=IF(ROW(2:" & lastRow & "),SUBSTITUTE(" & .Address & ","")"","".)""))")
End With
End Sub
Sorry, totally ignorant to this stuff! Is VBA different than entering a formula into the formula bar? I think I could sort the columns so that the address's with extensions would be together and only do those ones. Address's are in the following format:
11421 Route 322
350 Meadow Rd
416 N Pickering St
201 N Jefferson St
Po Box 174
Does this help?