Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 13
Default use button to return random numbers

I want to click a button and have 5 different cells return 5 numbers between
1 and 6 i want each cell to pick number randomly it does not matter if some
numbers are the same. then i want to be able to select some cells and do not
want those numbers to change on next click. want a max of 3 clicks. This is
for a version of dice or yathzee im trying to create. hope you can help
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default use button to return random numbers

If you have the Analysis ToolPak installed, you can use RANDBETWEEN to
generate your random numbers - see Excel Help for further details.

To stop the random numbers re-generating every time you make a change,
you need to set the calculation mode to manual - click on Tools |
Options | Calculation tab. Then you can just press F9 to recalculate
when you want to.

Hope this helps.

Pete

On Nov 8, 10:20 pm, jimE wrote:
I want to click a button and have 5 different cells return 5 numbers between
1 and 6 i want each cell to pick number randomly it does not matter if some
numbers are the same. then i want to be able to select some cells and do not
want those numbers to change on next click. want a max of 3 clicks. This is
for a version of dice or yathzee im trying to create. hope you can help



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
getting numbers divisible by 4 from random numbers in ascending order ramana Excel Worksheet Functions 6 June 19th 07 06:41 PM
I want random numbers generated without repeating numbers Johncobb Excel Worksheet Functions 2 September 7th 06 04:52 PM
Can Excel pick random numbers from 1-300 and not repeat numbers? Julian Excel Discussion (Misc queries) 1 June 7th 06 07:17 AM
Non-random numbers generated by excel's data analysis random gener Allie Excel Worksheet Functions 10 September 17th 05 06:19 AM
Non-random numbers generated by excel's data analysis random gener Harlan Grove Excel Discussion (Misc queries) 2 September 13th 05 04:06 PM


All times are GMT +1. The time now is 03:18 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"