Hi
I have a VBA code that removes certain numbers at the end of the string in Column X
after running the code
What I want to do is just remove the characters in the brackets including the brackets.
I have a VBA code that removes certain numbers at the end of the string in Column X
X |
---|
Test Date (12345678) |
Sample Text (ABC12345) |
Description Again (ARA30123) |
Plumbing |
Roof Plumbing |
VBA Code:
With wsDest.Range("X3:X" & lDestLastRow)
.Value = Evaluate("=IF({1},MID(" & .Address(0, 0, 1, 1) & ",1,LEN(" & .Address(0, 0, 1, 1) & ")-11))")
End With
after running the code
X |
---|
Test Date |
Sample Text |
Description |
#VALUE! |
Ro |
What I want to do is just remove the characters in the brackets including the brackets.