About 9,420,000 results
Open links in new tab
  1. How to loop in excel without VBA or macros? - Stack Overflow

    With Excel 2023, the answer is yes. The REDUCE function will loop through arrays, but it does have some limitations; REDUCE can only pass the value of one variable from one iteration to the next. …

  2. Loop through each row of a range in Excel - Stack Overflow

    Jul 8, 2019 · How do I loop through each row of a multi-column range using Excel VBA? All the tutorials I've been searching up seem only to mention working through a one-dimensional range...

  3. Excel VBA Loop on columns - Stack Overflow

    Dec 21, 2012 · Yes, let's use Select as an example sample code: Columns("A").select How to loop through Columns: Method 1: (You can use index to replace the Excel Address)

  4. Excel VBA - exit for loop - Stack Overflow

    This is simply another solution to the question specific to the For loop (not For Each). Pro’s and con’s apply to different solutions and different situations - for example this is a more robust format than the …

  5. excel - Loop through files in a folder using VBA? - Stack Overflow

    Apr 30, 2012 · I would like to loop through the files of a directory using vba in Excel 2010. In the loop, I will need: the filename, and the date at which the file was formatted. I have coded the following wh...

  6. excel vba : selected cells loop - Stack Overflow

    Feb 3, 2014 · 6 Iterates directly over rows only. I have more than one column selected, wanted outer loop rows only.

  7. What is the most efficient/quickest way to loop through rows in VBA ...

    Nov 18, 2011 · If you are just looping through 10k rows in column A, then dump the row into a variant array and then loop through that. You can then either add the elements to a new array (while adding …

  8. excel - Skip to next iteration in loop vba - Stack Overflow

    I am trying to create a simple conditional loop that will go to the next iteration if a condition is true. The code I have so far is: For i = 2 To 24 Level = Cells(i, 4) Return = Cells(i, 5...

  9. How to loop through Excel files and load them into a database using ...

    I need to create an SSIS package for importing data from multiple Excel files into an SQL database. I plan on using nested Foreach Loop containers to achieve this. One Foreach File Enumerator and n...

  10. excel - How can I use a for each loop on an array? - Stack Overflow

    A for each loop structure is more designed around the collection object. A For..Each loop requires a variant type or object. Since your "element" variable is being typed as a variant your "do_something" …