loop through a folder

  1. C

    VBA Loop through folder and subfolders to find specific sheet then Copy and Paste certain data

    I hope you can help. I have made an attempt to code this myself (see code below) but failed so I am reaching out to the community for assistance. What I need my code to do is allow a user to click on a command button, then the user selects a folder. Once this folder is selected. I need the code...
  2. F

    Dir Function not returning next file after Custom Function called

    Hi All, I'm having trouble with a macro I have been writing. The intent is to run through all files in a specified directory, open each one and copy a predetermined sheet into my workbook. I am using sFile = Dir(sFile & "*") to loop through my files. I am using another sub (ImportSheet)...

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