hartless43
New Member
- Joined
- Dec 28, 2022
- Messages
- 16
- Office Version
- 365
- Platform
- Windows
Several months ago I ask for a way to remove a number from my Sudoku Game and got this reply:
Range("B2:J10").Replace What:=Application.WorksheetFunction.RandBetween(1, 9), Replacement:=""
This randomly picks a number from 1 - 9 and removes that number completely from the game. But in my Extreme games I don't use this because so many numbers have already been removed so is there a way to change that code above to randomly reverse the removal of a number but add a number from 1 - 9 and place it where it goes all 9 times.
I use UBI technology in my excel programming and don't know how to do this.
Thanks for a reply.,
Jerry
Range("B2:J10").Replace What:=Application.WorksheetFunction.RandBetween(1, 9), Replacement:=""
This randomly picks a number from 1 - 9 and removes that number completely from the game. But in my Extreme games I don't use this because so many numbers have already been removed so is there a way to change that code above to randomly reverse the removal of a number but add a number from 1 - 9 and place it where it goes all 9 times.
I use UBI technology in my excel programming and don't know how to do this.
Thanks for a reply.,
Jerry