Hi an odd request perhaps, I need to create a unique serial number within a file that never gets saved. I've had to create an Excel based application that users answer various data validations. Rather than save the workbook, I strip out all of their prompt answers and send a .csv file to a SharePoint site where that data gets picked up as a set of instructions for another team. So my 'base' file closes without saving, so having a simple count that increases with file open wont work.
I have settled on creating a serial number by joining 10 digits of the the =Now() function concatenated to the Employee id of the person who is answering the data validations. I figure then this approach will therefore create a unique serial number. Since I take a hard copy of the =Now() result at file open, and by the time that the user has completed all the data validations, then well, time will have moved on by at least a few if not more minutes.
So the =Now() function when formatted as a number is currently a 5.10 format, in that there are 10 decimals, a decimal point and 5 numbers to the left of the decimal. It will be many years before there are more than 5 digits to the left of the decimal, so I don't think I'll be around for anyone to complain to when time trips over to 6 digits
I want to gather 5 digits before the decimal (=Left(B45,5) so no problem there, but.....
how do I get the first 5 digits after the decimal?
Or is there another approach that I havent thought of?
Many Thanks
I have settled on creating a serial number by joining 10 digits of the the =Now() function concatenated to the Employee id of the person who is answering the data validations. I figure then this approach will therefore create a unique serial number. Since I take a hard copy of the =Now() result at file open, and by the time that the user has completed all the data validations, then well, time will have moved on by at least a few if not more minutes.
So the =Now() function when formatted as a number is currently a 5.10 format, in that there are 10 decimals, a decimal point and 5 numbers to the left of the decimal. It will be many years before there are more than 5 digits to the left of the decimal, so I don't think I'll be around for anyone to complain to when time trips over to 6 digits
I want to gather 5 digits before the decimal (=Left(B45,5) so no problem there, but.....
how do I get the first 5 digits after the decimal?
Or is there another approach that I havent thought of?
Many Thanks