|
-
May 29th, 2007, 03:34 AM
#1
Thread Starter
Addicted Member
Random Unique Number
Hi,
I need to generate a unique "ticket" number for a user in excel
they are completing a userform, and their responses are written to a central workbook.
the users will be placed in to a draw, so they will be given this unique ticket number.
the thing is, i must not be able to link this ticket number to the responses as they are to be confidential.
does anyone know of a way to do this, i was thinking of writing to the responses workbook
but again i could work this back to where the individual is located.
Thanks
-
May 29th, 2007, 05:19 AM
#2
Re: Random Unique Number
the thing is, i must not be able to link this ticket number to the responses as they are to be confidential
Wha...?
Confidential to whom? If confidential to all then no-one is going to read -ergo no need to store.
In Excel?
Relational - ie dump in a db?
If you have to use Excel, try this:
Userform - Data Entry -> contact detail (search for existing if more than one feedback) + entry of response
Userform - Search - contact info - for draw result
SheetOfContactDetails (Hidden ?)
SheetOfResponsesWithContactID (hidden sheet)
As to who can see - protect the sheet that is hidden or the workbook. Read up on security with Excel.
Feeling like a fly on the inside of a closed window (Thunk!)
If I post a lot, it is because I am bored at work! ;D Or stuck...
* Anything I post can be only my opinion. Advice etc is up to you to persue...
-
May 30th, 2007, 04:41 PM
#3
Thread Starter
Addicted Member
Re: Random Unique Number
done this using a unique number generator i found on google
i then had an array of cells numbered from 1-1000
the code will loop until it finds an unused number (i change the cell interior once used)
works fine, as approx 600 people will use this
thanks anyway 
oh an a db would be overkill for this
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|