leeksleeks
Board Regular
- Joined
- Oct 31, 2013
- Messages
- 96
Hi,
I am having trouble trying to write some code that will extract a word(s) from a cell that has asentence in it as can be seen below:[TABLE="width: 50"]
<tbody>[TR]
[TD][TABLE="width: 655"]
<tbody>[TR]
[TD="width: 655"](Class 4) (4yo+) 2m3f Heavy 10 hdles[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
</tbody>[/TABLE]
I have tried Text to Columns but when I change from Race to race the amount of information changes and everything parts of words are chopped off and split into other cells etc. What iw ant is to be able to extract Class (Class4), the distance (2m3f) and the going (Heavy). I then want to copy that information from a worksheet called 'Meeting to a worksheet called 'Results'.
Much the same as above when a cell has:
[TABLE="width: 50"]
<tbody>[TR]
[TD][TABLE="width: 655"]
<tbody>[TR]
[TD="width: 655"]<!-- -->Vinetta 16/1 [/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
</tbody>[/TABLE]
or
[TABLE="width: 50"]
<tbody>[TR]
[TD][TABLE="width: 655"]
<tbody>[TR]
[TD="width: 655"]<!-- -->Croco Bay (IRE) 16/1 [/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
</tbody>[/TABLE]
How do I copy just the 16/1 onto the worksheet called "Results".
Any help you can provide will be very helpful.
Cheers
I am having trouble trying to write some code that will extract a word(s) from a cell that has asentence in it as can be seen below:[TABLE="width: 50"]
<tbody>[TR]
[TD][TABLE="width: 655"]
<tbody>[TR]
[TD="width: 655"](Class 4) (4yo+) 2m3f Heavy 10 hdles[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
</tbody>[/TABLE]
I have tried Text to Columns but when I change from Race to race the amount of information changes and everything parts of words are chopped off and split into other cells etc. What iw ant is to be able to extract Class (Class4), the distance (2m3f) and the going (Heavy). I then want to copy that information from a worksheet called 'Meeting to a worksheet called 'Results'.
Much the same as above when a cell has:
[TABLE="width: 50"]
<tbody>[TR]
[TD][TABLE="width: 655"]
<tbody>[TR]
[TD="width: 655"]<!-- -->Vinetta 16/1 [/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
</tbody>[/TABLE]
or
[TABLE="width: 50"]
<tbody>[TR]
[TD][TABLE="width: 655"]
<tbody>[TR]
[TD="width: 655"]<!-- -->Croco Bay (IRE) 16/1 [/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
</tbody>[/TABLE]
How do I copy just the 16/1 onto the worksheet called "Results".
Any help you can provide will be very helpful.
Cheers