Thanks for the reply. I have been able to automate all the other selection methods in Excel using the format that I download which starts off as one line and then I data text to columns. Now this does not affect the automation of my original selections in Excel into the three groups required. This is because I do not need to have the race heading in this sheet only the final selections, in one instance the selections plus the form figures. So I ma happy as far as that goes as I only have to copy and paste into Excel and then the rest is automated. Once I get these possible selections they are then loaded up into three separate sheets on my Gruss connected Excel sheet and the final instructions are given on my main sheet. This works well.
Now as I would like to eliminate certain races according to the condition of the tracks I need to have the heading in a format that could be developed for automation. Particularly the last cell containing the number .The website that I download the info from has two options,download from the main page or right click and this takes you to a site that has it in text form .The screen shots of the site and then the text site are as follows.

Text site

When I try to download the info from a data query in Excel there does not appear to be tables as per below.
This is from the page once I log in.

This is from the text site.
