View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Alseikhan[_6_] Alseikhan[_6_] is offline
external usenet poster
 
Posts: 1
Default Need to generate unique serial numbers using algorithm


I sell an Excel worksheet and need to protect it with a unique serial
number that is provided separately to each customer upon purchase
(i.e., each customer gets a unique number).
How can a procedure be implemented in VBA to validate serial numbers
and to block randomly generated numbers by non-subscribers?
For customer convenience, the number should be around 6 characters
long.

Ideally, that procedure will validate the serial number without having
to index it against a huge database of valid numbers stored somewhere
in the sheet.
Web connectivity, to tap into a central server for number validation,
cannot be assumed.
In a nutshell, what is needed is something akin to serial numbers used
to protect commercial software.

Any help is appreciated.
alseikhan


--
Alseikhan
------------------------------------------------------------------------
Alseikhan's Profile: http://www.excelforum.com/member.php...o&userid=32364
View this thread: http://www.excelforum.com/showthread...hreadid=530797