With the analysis toolpak installed:-
=INDEX($C$4:$L$13,RANDBETWEEN(1,10),RANDBETWEEN(1, 10))&INDEX($C$4:$L$13,RANDBETW
EEN(1,10),RANDBETWEEN(1,10))
--
Regards
Ken....................... Microsoft MVP - Excel
Sys Spec - Win XP Pro / XL 97/00/02/03
----------------------------------------------------------------------------
It's easier to beg forgiveness than ask permission :-)
----------------------------------------------------------------------------
"rzal7 " wrote in message
...
I have a grid of 100 random four letter words (no not BAD four letter
words!) and they range from C4 to L13. I am trying to write in VBA so I
can randomly select two words from the grid to create one 8 letter word
for random password generation. I know that this has been done, I don't
want to recreate the wheel, but right now this is eluding me. any help
would be greatly appreciated!
RZAL7
I've attached the workbook I have so far.
Attachment filename: passgenrzv01.xls
Download attachment: http://www.excelforum.com/attachment.php?postid=590974
---
Message posted from http://www.ExcelForum.com/
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (
http://www.grisoft.com).
Version: 6.0.708 / Virus Database: 464 - Release Date: 18/06/2004