loop macro + workbooks

  1. E

    How to loop through first Columns then Rows?

    Hi guys I need a loop that loops through first column A and then b etc. then takes rows? Could someone help me with a script?
  2. H

    How can I clear a range of cells in multiple worksheets in the same workbook?

    I have a workbook with 14 worksheets in it, and I need to clear contents with the same range in each worksheet. Here is the code that I'm trying to use: Dim Sht As Worksheet On Error Resume Next For Each Sht In ThisWorkbook.Worksheets Range("C22:H1461").Select...
  3. C

    Excel macro that loops through directory, then lists file name and a certain cell value

    I'm fairly new to vba for excel and I need a little guidance on a macro that I've pieced together from multiple web sources (pasted below). I've search for a couple of days, and nothing I've found gets me what I want. The macro loops through files in a specific directory and sums values from...
  4. N

    Loop thru Subdirectories find all .xls update value of specific cells

    Hello, I need code to loop thru all subdirectories open each workbook in the subdirectory that contains as part of the file name "_Sales Order.xls" and open each "_Sales Order.xls" and update worksheet "Sales Order Form" the following values: C44 new value = "00-440" D44 new value = " a few...
  5. D

    Loop through folder and run macro on all workbooks

    I am working in Excel 2010 and would like to create a vb macro that loops through all folders and subfolders in a path, performs a macro that I already have recorded, and then saves the files. Can somebody help me write a module for this?
  6. C

    range variant looping macro many workbooks

    Hi, I have a complicated problem for excel 2003 , maybe not for a power user. I have about 20 different workbooks and i want to create identical tables and graphs in each one of them using the least number of steps. The number of the rows changes by workbook but the colums are identical...

This Week's Hot Topics

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
Top