473,387 Members | 1,582 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

How to write a alphanumeric code

I want an example of how to write an alphanumeric code
Mar 7 '14 #1
7 5719
This is a very good site it help with all kinds of IT stuff
Mar 7 '14 #2
=CHAR(CHOOSE(RANDBETWEEN(1,2),RANDBETWEEN(48,57),R ANDBETWEEN(65,90)))

to get a random alphanumeric character... or, 5 of those concatenated to get a 5 character one: =CHAR(CHOOSE(RANDBETWEEN(1,2),RANDBETWEEN(48,57),R ANDBETWEEN(65,90)))&CHAR(CHOOSE(RANDBETWEEN(1,2),R ANDBETWEEN(48,57),RANDBETWEEN(65,90)))&CHAR(CHOOSE (RANDBETWEEN(1,2),RANDBETWEEN(48,57),RANDBETWEEN(6 5,90)))&CHAR(CHOOSE(RANDBETWEEN(1,2),RANDBETWEEN(4 8,57),RANDBETWEEN(65,90)))&CHAR(CHOOSE(RANDBETWEEN (1,2),RANDBETWEEN(48,57),RANDBETWEEN(65,90)))

Just press F9 to get a new value, or use a looping macro for your "... at least one character in the result would be a letter" restriction.

note: RANDBETWEEN requires the analysis toolpak.
Mar 7 '14 #3
Nepomuk
3,112 Expert 2GB
Generally speaking, alphanumeric code is code containing latin letters (A-Z and a-z) as well as arabic digits (0 through 9). Or do you mean alphanumeric shellcode?
Mar 7 '14 #4
Hi Nepomuk,
I like the way u reply,i learned frm u that first we need knw wht exactly they looking for,definition its nice.
Thanks for ur answer.
Mar 7 '14 #5
Nepomuk
3,112 Expert 2GB
Hi 2147483648!

Yes, it's always good to know what exactly the question is. ;-) Your solution seems to create random alphanumeric code, though I'm not sure which language that is supposed to be. Maybe VBA?

But back to the question: Iamtrey3, if the replies so far answer the question, great. If not, please specify what exactly you want to know.
Mar 7 '14 #6
Thank you very much for making me to realize quickly Nepomuk.
I will appreciate and accept ur response without hesitation.
Mar 8 '14 #7
Your question is not clear, [A-Z|a-z|0-9]+ is considered as alphanumeric word.
Jun 9 '14 #8

Sign in to post your reply or Sign up for a free account.

Similar topics

5
by: silviu | last post by:
Hi All, I have to write C++ code (server code) that will compile/run on both Windwos and Linux OS's. Could someone give me some pointers to info on this matter. Thanks in advance for your...
16
by: White Wolf | last post by:
Hello, I am looking for Hungarians, who read this newsgroup and are interested in the Standard C++ Programming Language. I am trying to help to organize a group of Hungarians, who are expert...
5
by: Jay | last post by:
Hello everyone, I just got done taking a small course in ASP.NET and I'm completely sold. This is amazing compared to original ASP. My question is about the preferred method of coding the asp...
1
by: Pratchaya | last post by:
Hi, All Can i write php code to connect 2 MySQL DB. like this case. ? My Environment : Server < ---- > PC Client Server =
5
by: pradeep | last post by:
how to write antiviirus code using c++
3
by: kumarabhijit | last post by:
Hi, Can anyone help me about how to write Marshalling code for Function pointer in cpp? Thanks Abhijit
8
seshu
by: seshu | last post by:
hi every body This is seshu, here iam able write a code in vb6 on controle arrays ofcourse while designing it self i made my controls as arrays but here in .net i dint find that...
20
by: Victor Smootbank | last post by:
I did program in BASIC for more than 20 years and for me it's still the ultimate programming language. Unfortunately, I was forced to upgrade to C++ and now I'm confused. While programming in...
1
by: suratna | last post by:
i have an xslt file. i have no problem writing html code inside it but when i write a mysql select query inside it, it gives error. Is there any way to write php code inside xslt file? ratna
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.