Support 805.461.7300
Sales
Our Technology. Your Success.

Generate a random number of any length

Download and unzip the file linked below directly to your C:\Program Files (x86)\AccuZIP6 5.0 folder.
https://www.accuzip.com/files/forum/genrandom.zip

Import your list, and create a field that you want the number to be stored in using Edit menu>Fields. The field LENGTH determines the highest random number that will be generated. If the field length is 4, then the highest number could be 9999. Character fields are padded with 0, e.g., 0001

Click on Edit>Command, and run this syntax, substituting the word fieldname with the actual field name you created:

=GenRandom("fieldname")


Click Run.

You can then close the command window, and you'll see a random number filling that field, and they will all be 100% unique.
 

« Back to Commands

I have been a loyal customer for 14 years and love your products. During my career as a mailing professional, I have experienced that the mailing industry is in a constant state of change: through technology, equipment, software, postal regulations and automation requirements. During this time, I have always been able to trust and depend on Accuzip software. It is evident Accuzip is always at the forefront of these changes. When our team is having difficulty with a mailing, we know that we can rely on Accuzip tech support to resolve any issue. We have always received excellent customer service. Accuzip software, support and expertise has helped me to develop a professional mailing operation at our University and I could not have done this without you. Your software makes my job successful and less stressful. Thank you!
D.H., Forest Grove, OR