VBA - help with automation

Madmalky1976

New Member
Joined
Sep 3, 2014
Messages
14
Hoping someone can help. New to this forum. Sorry for writing all as text but I don't have access to the file at the moment.

I have a workbook with one worksheet that contains a list of output file names in column A, list of the file paths in column B and dynamic hyperlinks in column C where the the names can change and also the number of hyperlinks can change. I want to open each hyperlink (.csv file) and somehow import the data from that file into a new worksheet in the workbook containing the hyperlinks and then close the .csv file.

what I am looking to automate next is that after the data has been imported into the new sheet, the sheet is renamed with the output file name from column A in the link sheet. I also need to know when the opened output file is blank and if it is then this is recorded somewhere, on a results sheet?

this and all it needs to be able to loop through the macro to work through each hyperlink in the list in column C until it hits a cell without a hyperlink.

Any help appreciated.
 

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.

Forum statistics

Threads
1,215,005
Messages
6,122,661
Members
449,091
Latest member
peppernaut

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top