So here is some code, you can delete some of the commented lines to clean it up,
I just wanted to show that as you go through the process of creating some code, it is good to be aware that you don't repeat the same code over and over.
I stopped it and created a new function to do the repeated code for me and then just call that as many times as needed. I hope that makes sense.
To make the code cleaner, you can make a separate sub procedure to write to the sheet, just make the variables that hold the extracted data module scoped.
Just move the DIM statements for them to the very top of the sheet1 module so that both the ParseHTML procedure and a new WriteToSheet procedure can access them
Bookmarks