Hello, I'm helping to a friend of mine to build a 16x16 sudoku in Excel using macroses. I've cleaned all her mistakes (at least the ones I managed to find), but there is one I have no idea what is wrong with it. Run time error 9. The MVB is marking me the following part:
CODE
safety(triallevel, safesquare) = square(horiz_l_a, horiz_s_a, vert_l_a, vert_s_a, possibility)
Those are defined with the following:
Dim horiz_l, horiz_s As Integer 'horizontal coordinates of the square
Dim vert_l, vert_s As Integer 'vertical coordinates
Dim possibility As Integer 'possibilities the square to be used in a loop/cicle/not sure for the word
Dim triallevel As Integer 'where we've reached with the attempts and the mistakes
Dim safety(1 To 100, 1 To 256) As Integer 'masiv for the matrices
Dim safesquare As Integer 'safe square
If someone is willing to help I can zip the file and upload it, so that you can have a look at both the excel and the MVB codes.
Thank you in advance,
Izu
This post has been edited by Izumi: 18 Jun, 2008 - 03:14 AM