ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Help to modify the query? (https://www.excelbanter.com/excel-worksheet-functions/179552-help-modify-query.html)

Eric

Help to modify the query?
 
Does anyone have any suggestion on how to do it in excel?

There is the format for the macro query.
qryConnect = "URL;http://www.myurl.com/filename.html"
For example,
qryConnect = "URL;http://www.myurl.com/john.html"
qryConnect = "URL;http://www.myurl.com/1.html"

There is a list of file names on column A under Lists worksheet.
Does anyone have any suggestions on how to retrieve the character on column
A under worksheet lists and insert into the query in order to do the
following tasks?

I would like to load a list of web links into Temp worksheet, after the
first link is loaded from cell A1 under Lists worksheet, then retrieve the
value in cell A10 under Temp worksheet and paste this value into B1 under
Lists worksheet. After that,

repeat for the next web links ...

after the second link is loaded from cell A2 under Lists worksheet, then
retrieve the value in cell A10 under Temp worksheet and paste this value into
B2 under Lists worksheet.

repeat for the next web links ...

after the third link is loaded from cell A3 under Lists worksheet, then
retrieve the value in cell A10 under Temp worksheet and paste this value into
B3 under Lists worksheet.

repeat for the next web links ...

Does anyone have any suggestions?
Thanks in advance for any suggestions
Eric


All times are GMT +1. The time now is 11:12 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com