Hi,
I want to generate total 750,000 unique random combination of alpha and numeric numbers without duplicates, without using "O", "0", "1", "i".
The number of digits is 16.
Is there anyone here can teach me how to do it?
Thanks!
Hi,
I want to generate total 750,000 unique random combination of alpha and numeric numbers without duplicates, without using "O", "0", "1", "i".
The number of digits is 16.
Is there anyone here can teach me how to do it?
Thanks!
Run the FillSheet() sub
EDIT: Previous code had unbroken loop problem.![]()
Please Login or Register to view this content.
Last edited by Neil_; 09-09-2016 at 03:01 AM.
Frob first, tweak later
Or try ...
![]()
Please Login or Register to view this content.
Thanks Phuocam!
You are great!
I have 2 questions:
1. If i want to remove "l" as well, i just simply take off "l" from
Temp = "23456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghjklmnpqrstuvwxyz"??
2. If i want to remain 16 digit, but do not want to include small letter alphabetic, how should the code revise?
I tried to remove from Temp = "23456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghjklmnpqrstuvwxyz", but some of the random generated combination is not in 16 digits.
Please kindly advise.
Last edited by jeffreybrown; 09-09-2016 at 08:13 PM. Reason: Removed full quote. Causes clutter.
Thanks Neil!
You are great!
I have 2 questions:
1. If i want to remove "l" as well, how should i do?
2. If i want to remain 16 digit, but do not want to include small letter alphabetic, how should the code revise?
Please kindly advise.
Last edited by jeffreybrown; 09-09-2016 at 08:11 PM. Reason: Removed full quote. Causes clutter
Another way:
![]()
Please Login or Register to view this content.
A 1YTQXXASH6NJ328GP 234UTK4WE4MQY2JK7 3QEKA7ML87MV5V9QG 4QCFT229FT3CGBAK7 54QQTSFRC48TC26SD 6LKBSG7P2C2JCRKFG 7W5TYJFV389CVSR9D 8NYT66MYJLC88WWCR 9KSFXFF6V4GD37967 10U83ZTSABEEMCE5F3 11…
Last edited by shg; 09-09-2016 at 03:04 PM.
Entia non sunt multiplicanda sine necessitate
A disadvantage of using Rnd in that fashion is that given the first result, you can predict the rest of the sequence.
Thanks shg!!!
If I want to reduce the number of digits from 16 to 8, how should I edit?
![]()
Please Login or Register to view this content.
Thanks shg!!
You are so great.
Now it is 8 digits random combination.
Actually my goal is to make it become alphanumeric, I realise when i generate the code out, some are not alphanumeric.
Is it possible to make it at least 1 number at random position among the 8 digits?
Is this the last iteration?
![]()
Please Login or Register to view this content.
The result could still be interpreted by Excel as a number, e.g., 12345E67
Hi SHG,
Thanks for your help!
Yar, the result still be interpreted by excel as number, eg:12345E67.
Is it possible to make it
Total: 6 digits
requirement: 3 number 3 alphabet
Random position and combination.
Is this possible?
Last edited by wulikaka; 09-22-2016 at 07:07 AM.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks