So my problem is I want to delete those special characters, ▼ ▼ ▼ ▼ ▼ ▼, using a VBA program. I tried using record but as you can see VBA turned those characters into ????. I have tried coping and pasting into a VBA window and no joy. Now I am going to have several lines like in cell A1 but I am showing just one line. And the words after the special characters will change. So the input is cell A1 and the output is cell A5. Any questions, comments or suggestions let me know and thanks for your time.
Arnold
Arnold
VBA Code:
Sub DeleteSpecial()
Range("A1").Select
ActiveCell.FormulaR1C1 = _
"? ? ? ? ? ?"
Range("A5").Select
Cells.Replace What:="? ? ? ? ? ?", Replacement:="", LookAt:=xlPart, _
SearchOrder:=xlByRows, MatchCase:=False, SearchFormat:=False, _
ReplaceFormat:=False, FormulaVersion:=xlReplaceFormula2
End Sub
24-05-06 my question.xlsm | |||
---|---|---|---|
A | |||
1 | ▼ ▼ ▼ ▼ ▼ ▼303 Alaska Air Group ALK 45.53 ▲1 3 5 1.55 55- 80 (20- 75%) 10.3 NIL 4.40 NIL 2 3/31◆d.92 d.62 3/31 NIL NIL YES | ||
2 | |||
3 | |||
4 | |||
5 | 303 Alaska Air Group ALK 45.53 ▲1 3 5 1.55 55- 80 (20- 75%) 10.3 NIL 4.40 NIL 2 3/31◆d.92 d.62 3/31 NIL NIL YES | ||
Data1 |