Thankyou! i got it working =D.Really nice bit of work Mike! But i was wondering if anyone might know how, instead of having the route being plotted out all at once, i could see the steps as it moves between the different cells? So when run you can watch it move along?
You can modify this section of my sub SolveMaze, by un-comment outing the Call Delay. The sub Delay would have to be written, or copied from the OP depending on what you want.
How big is the maze you are looking at, with "big" defined by how many moves it takes to reach the goal?
Code:
Rem display solution path
For i = LBound(ReversePath) To UBound(ReversePath)
'Call Delay
With ReversePath(i)
.Value = i
.Font.ColorIndex = xlGuess
'.Interior.ColorIndex = 3
End With
Next i
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.