hartless43
New Member
- Joined
- Dec 28, 2022
- Messages
- 35
- Office Version
- 365
- Platform
- Windows
I found a few similar posts regarding this, but not what I was looking for. I have a homemade Excel Sudoku game and it works great. Some of the levels are easy to solve and some are not. What I have discovered when playing the game, if a certain number is not available anywhere on the sheet it makes the game a little harder to play. So, I am looking for a way to randomly select a number from 1-9 such as =(RandBetween1,9), and wherever all the (Example 9's) are located all 9's will be deleted from the worksheet. This would provide for a missing number and create a more difficult game. The place where the game is played is Range("B2:J10") so the code would be for this range. The Algorithm that creates each game is not the best, but it works goes by so fast that the number cleared off would probably not be noticed.
Thanks for your help and I really like this forum.
Thanks for your help and I really like this forum.