recursive programming

  1. corentint

    A recursive procedure

    Hello everyone and greetings! I have concocted a procedure to control two (2) clocks for a chess game. On a sheet, I have 2 cells that contains the cumulative time spent by each player; I also have 2 buttons that each player must push in turn once their move is completed. Pushing one button...
  2. L

    Recursive factorial

    Hey guys, I'm trying to learn how to use factorials, this is a simple example: Option Explicit Function factorials(nr As Long, Optional factorialsTest As Long = 1) Dim test As Variant factorialsTest = nr * factorialsTest nr = nr - 1 If nr <> 0 Then Call factorials(nr, factorialsTest) test =...
  3. S

    Copy files from specific sub-folders ???

    Morning! So I have a parent folder (labeled "2017") with some subfolders (Labeled "Month 1", "Month 2", etc etc) and some subfolders (labeled "Week 1", "Week 2", etc etc) in the Month folders. The Week folders also have some subfolders, i.e. "Completed", and some other non-important folders. I...
  4. J

    VBA Copy of Formatting to Files in Subfolders

    I have a collection of CSV files in a set of subfolders and a main (but empty) file that contains formatting (column widths, colors and cell merges). I would like to copy the formatting from the formatting template xlsx file to each csv file then save the csv file as an xlsx file. I've got the...
  5. M

    Help with multi-tier recursive totals using VBA

    Let's call the numbering system in column 1 a work breakdown structure (WBS) or hierarchical taxonomy. There is no fixed number of elements below a top level, There is no fixed number of sub-indents. Therefore, the maximum length of 'Number' field is variable and unknown. I am attempting...
  6. B

    Recursively Generate Combinations

    Folks, I want to build a macro that will load up a VBA macro (permutations()) with all the combinations of x items from a list of y possible items. To start out, I'm trying for all combinations of 4 from a list of 10. I know that I can do nested for loops, but I want a dynamic macro. I'm...

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