Below is the Macro I am using, but currently it only carries down to row 12. Can someone please help me modify so the Macro carries to last last line of data in the sheet. I will be using on multiple sheets in the future, so the row count may vary.
Thank you,
Jr
Code:
Sub Byers()'
' Byers Macro
'
' Keyboard Shortcut: Ctrl+Shift+B
'
Range("C2:C12").Select
Selection.NumberFormat = "0.00"
Selection.NumberFormat = "0.0"
Selection.NumberFormat = "0"
Columns("D:D").Select
Selection.Cut
Range("G1").Select
Selection.Insert Shift:=xlToRight
Range("E2:E12").Select
Application.Run "PERSONAL.XLSB!RemoveTags"
Selection.Replace What:=" ", Replacement:=" ", LookAt:=xlPart, _
SearchOrder:=xlByRows, MatchCase:=False, SearchFormat:=False, _
ReplaceFormat:=False
Selection.Replace What:="[/n]", Replacement:=" ", LookAt:=xlPart, _
SearchOrder:=xlByRows, MatchCase:=False, SearchFormat:=False, _
ReplaceFormat:=False
Selection.Replace What:=".", Replacement:=". ", LookAt:=xlPart, _
SearchOrder:=xlByRows, MatchCase:=False, SearchFormat:=False, _
ReplaceFormat:=False
Range("F2:F12").Select
Application.Run "PERSONAL.XLSB!SeparateDataBySemiColon"
Range("H17").Select
End Sub
Thank you,
Jr