Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Dim WholeString As String
Dim FirstClose As Integer
Dim FirstComma As Integer
Dim SecondSpace As Integer
Dim CorrectedName As String
WholeString = ActiveCell.Text
FirstClose = InStr(1, WholeString, ")", 1)
FirstComma = InStr(FirstClose, WholeString, ",", 1)
SecondSpace = InStr(FirstComma + 2, WholeString, " ", 1)
CorrectedName = Mid(WholeString, FirstComma + 2, _
SecondSpace - (FirstComma + 2)) & " " & Mid _
(WholeString, FirstClose + 2, FirstComma - _
(FirstClose + 2))
Range("C1").Select
ActiveCell.Value = CorrectedName
[blue]Columns("B:B").Select
Selection.FormulaR1C1 = "=LEFT(TRIM(MID(RC[-1],FIND("","",RC[-1],FIND("")"",RC[-1])+1)+1,256)),FIND("" "",TRIM(MID(RC[-1],FIND("","",RC[-1],FIND("")"",RC[-1])+1)+1,256)))) & TRIM(MID(RC[-1],FIND("")"",RC[-1])+1,FIND("","",RC[-1],FIND("")"",RC[-1])+1)-FIND("")"",RC[-1])-1))"
Selection.Copy
Selection.PasteSpecial xlValues
Application.CutCopyMode = False
Columns("A:A").Delete[/blue]