Marvin P,
I looked at Power Query but the way the webpage is setup means that the table I want to extract could be anywhere on it and I have to iterate through thousands of webpages. I know enough VBA to get me started, hopefully with a bit more coding practice I will get more efficient at doing this kind of thing.
Thanks Kalbasiatka and AB33 your code put me on the right track to what I require.
I have 2 issues;
Issue 1. How do I exit the loop if it finds what I require before it gets to the end?
Is it just:
I have tried this and it errors out because the loop is set to 1-25 but there is a different number of tables every time the webpage is generated. I get a runtime error 91.
Issue 2:
Is there a more efficient way of looping through the columns of a table than this?
I would like to parse some of the returned data because Excel invariably converts strings like 12-5 to a date and that is a pain to fix;
For example:
Any suggestions?
Bookmarks