stuartgb100
Active Member
- Joined
- May 10, 2015
- Messages
- 322
- Office Version
- 2021
- Platform
- Windows
Hi,
I have text data in column A.
Case 1: the data consists of a word or phrase in English, followed by the French translation.
The value ':' separates the English and French.
How can I use VBA to place the values after the ':' into col B, and remove from col A ?
Case 2: data in col A is the same as Case 1, but his time the first characters after the ':' could be as follows: 'le' or 'la' or 'l'' - the last is l(apostrophe).
This time I need to do the same as Case 1, but also remove the 'le' or 'la' or 'l(apostrophe) and put that into col C.
For example:
[TABLE="width: 192"]
<colgroup><col width="64" style="width:48pt" span="3"> </colgroup><tbody>[TR]
[TD="width: 192, bgcolor: transparent, colspan: 3"]Glass door: la porte vitré
should change to:
[/TD]
[/TR]
</tbody>[/TABLE]
[TABLE="width: 192"]
<colgroup><col width="64" style="width:48pt" span="3"> </colgroup><tbody>[TR]
[TD="width: 192, bgcolor: transparent, colspan: 3"]Glass door porte vitré la
Many thanks.
[/TD]
[/TR]
</tbody>[/TABLE]
I have text data in column A.
Case 1: the data consists of a word or phrase in English, followed by the French translation.
The value ':' separates the English and French.
How can I use VBA to place the values after the ':' into col B, and remove from col A ?
Case 2: data in col A is the same as Case 1, but his time the first characters after the ':' could be as follows: 'le' or 'la' or 'l'' - the last is l(apostrophe).
This time I need to do the same as Case 1, but also remove the 'le' or 'la' or 'l(apostrophe) and put that into col C.
For example:
[TABLE="width: 192"]
<colgroup><col width="64" style="width:48pt" span="3"> </colgroup><tbody>[TR]
[TD="width: 192, bgcolor: transparent, colspan: 3"]Glass door: la porte vitré
should change to:
[/TD]
[/TR]
</tbody>[/TABLE]
[TABLE="width: 192"]
<colgroup><col width="64" style="width:48pt" span="3"> </colgroup><tbody>[TR]
[TD="width: 192, bgcolor: transparent, colspan: 3"]Glass door porte vitré la
Many thanks.
[/TD]
[/TR]
</tbody>[/TABLE]