The website I am trying to scrape is Securities Class Action Clearinghouse: Filings Database. It has pages up to 209. I am trying to copy and paste the list on each of those pages into one excel spreadsheet. I can see that it opens up the correct webpage with the ‘while’ I have, but when the procedure copies and pastes data into the spreadsheet, I have data from page 2 repeated over and over. In other words, I expected data from page 1, 2, 3, 4, but the spreadsheet repeats page 2, 2, 2, 2.
I am suspecting I need to create different ‘ExtractTable’ for every page. Is that what’s missing here? How would you do that?
Main_dowhile.xaml (12.2 KB)