LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,452
Default Need to generate unique serial numbers using algorithm

It shouldn't be too difficult to make a number that can be validated without
a
database, but where will the code be that validates the number?
As mentioned many times in this NG the security of Excel is not very good.
Maybe this needs to be tackled first.

RBS


"chillihawk" wrote in message
ups.com...
This is an interesting problem. Have you considered a combination of
digits limited in their range, something like:

Digit 1: can only be 1 or 0
Digit 2: can only be 3 - 7
Digit 3: can only be 4 - 8

and so on. Then use the VBScript Regular Expressions library or write
your own parser to confirm the rules have been met.


 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
generate serial numbers and date it entered irealtymods Excel Discussion (Misc queries) 3 August 5th 09 08:16 AM
automatically generate unique serial numbers for invoices nhlanhla Excel Worksheet Functions 1 October 2nd 08 12:50 PM
How can excel generate every unique pair from a set of numbers? mistermat Excel Worksheet Functions 3 August 31st 08 12:52 PM
generate unique random numbers Stephen Larivee New Users to Excel 7 March 29th 06 01:04 AM
generate serial number john douglass Excel Worksheet Functions 0 November 5th 04 10:49 PM


All times are GMT +1. The time now is 12:13 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"