paul_taylor
New Member
- Joined
- Feb 15, 2011
- Messages
- 33
I need to download web content into a spreadsheet. I'm using a form and the web browser control. (The reason is that I have to pass variables to get to the page I need--can't use Excel web query).
This is the last piece of code I'm using after I load the document.
Sheets(1).Cells(1, 1) = doc.DocumentElement.innerText
It's downloading all the content, but it's all going into cell A1. What I'd like it to do is populate down to row 100 1,000 or however far it has to go with one line of text per row. The page I'm downloading is thousands of rows long, hence this method cuts off everything below the amount of text that can fit in one cell.
This is the last piece of code I'm using after I load the document.
Sheets(1).Cells(1, 1) = doc.DocumentElement.innerText
It's downloading all the content, but it's all going into cell A1. What I'd like it to do is populate down to row 100 1,000 or however far it has to go with one line of text per row. The page I'm downloading is thousands of rows long, hence this method cuts off everything below the amount of text that can fit in one cell.