Hello!
Setup of a recorded macro - file attached to view the setup.
In Sheet1 I have few urls from where I wish to download some tables.
I have recorded a macro in Sheet2 to get some tables from a webpage. This is working fine.
Column A has headers and column B has the corresponding values
Similarly few more headers are in Column C and column D has the corresponding values.
The above data is placed vertically with headers in two columns A and C and their corresponding values in two columns B and D
What I need to do
In Sheet3, in row 1, I have manually typed all headers from sheet2 and I want to copy data from sheet2 to sheet 3 under every header so that the data is laid out in a tabular format based on a criteria.
Problems that I am facing
I have written a loop but I dont know the syntax on how to capture url from sheet1 for the loop till the last url
Dont know how to transfer downloaded data from sheet2 to sheet3 in tabular format once the web query is run in the loop and if it meets the criteria
Criteria: The transfer of downloaded data from sheet2 to sheet3 should ONLY happen if value of B10 in sheet2 is a number (not text or blanks)
Do I need all the parameters that I got it when the macro was recorded? will it decrease the processing speed if my urls are more?
Appreciate some help here... Thanks.
Bookmarks