Random Number After Serialized Number
Hello.
Kindly held me.
I need a serialized Number printing with last two digits being random numbers
for example 0035350043
here 00353 is prefix
500 is serialized
43 is random
so the next number should be 0035350154, 0035350236,....
I tried using the below script and was successful in getting random numbers but was unable to get serialized numbers
Randomize
upperbound = 99
lowerbound = 25
value = Int( ( upperbound - lowerbound + 1 ) * Rnd + lowerbound )
0
-
You need to split the data source of the object into three separate data sources (sub-strings). Fixed data for the prefix, serialised data for the serial number, and the VB script to calculate the two digit random number.
0
Please sign in to leave a comment.
Comments
1 comment