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 Just wanted to let you know we are in the Postal Fort Worth Texas Division and I received a call from someone in their office today wanting to ask me some questions. He asked if I understood about the changes with the move update starting for this month, then he asked me what software we were using. I explained to him that we have been using AccuZIP Software for the last 20 years and I thought you were the #1 in the United States. I told him that you were the only software displayed in the Postal Section of the Smithsonian Institute. He asked me if I had to manually change the updated addresses and I told him no that the Software did it for us and I could print a report showing the old address and the new address. He told me out of 32,000 names that were updated only 3 were wrong and he just wanted to call me to see what Software we were using. Thanks for such good software and support from your company over the past 20 years.
C.K., Wichita Falls, TX