troubleshooting Question

Need VBA code to create all combinations of a routing.

Avatar of EdLB
EdLB asked on
VBAMicrosoft ExcelMicrosoft Office
29 Comments1 Solution297 ViewsLast Modified:
I have a product that goes through a series of stations. Each station may have one or more process centers. I need VBA code that produces all the combinations if given the number of stations (NrStations) and the number of process centers at each station(NrPCs). Both NrStations and NrPCs can vary from product to product but there is an upper limit to both variables. For instance Max NrStations is 15 and Max NrPCs is 9.

Also, the product only flows in one direction from the first station to the last station.

See the attached spread sheet for an illustration.
Join our community to see this answer!
Unlock 1 Answer and 29 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 29 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros