Nelson78
Well-known Member
- Joined
- Sep 11, 2017
- Messages
- 526
- Office Version
- 2007
Hello everybody.
I'm looping in a range:
For each cell in this range, I need, if existent brackets with exactly 2 characters as a content, delete the brackets and its content.
For example:
has to be turned into
has to be turned into
But
has to stay unchanged because of 5 charachters and not 2 into the brackets.
Can you support me?
Thank's.
I'm looping in a range:
Code:
For Each cell In Sheets(2).Range("F2:F" & lr3)
'....
Next cell
For each cell in this range, I need, if existent brackets with exactly 2 characters as a content, delete the brackets and its content.
For example:
Code:
LONDON (LD)
Code:
LONDON
Code:
BERLIN (BL) GERMANY
Code:
BERLIN GERMANY
But
Code:
ROME (ITALY)
Can you support me?
Thank's.