Good morning,
We have a function coming up where we will need to generate a barcode based on a 7-digit value. We need each value to be unique. It doesn't particularly have to be random, but if we use a value, we can't use it again. Office 365 for Windows. Some VBA is totally fine.
Is there any way to display a value between 0000001-9999999, only one value at a time, then use the 3 of 9 font to convert it to a barcode, then print that barcode to a particular network printer, then the value changes and never uses the older values ever again? I'm thinking it makes the most sense to instead of produce a random value, to just make sequential. Then obviously never use a value less than itself because it would likely have been used.
For example, you have 0000001, click the "print" button, it sends the 0000001 as a 3 of 9 barcode to print from the printer, then the value becomes 0000002 AND saves the file - so that the next time you hit print, it prints that value instead. Also, now that the file is saved, anyone else that opens the file in the future won't be able to go back in and use old numbers. What's the best way to go about this kind of thing?
Thank you!
We have a function coming up where we will need to generate a barcode based on a 7-digit value. We need each value to be unique. It doesn't particularly have to be random, but if we use a value, we can't use it again. Office 365 for Windows. Some VBA is totally fine.
Is there any way to display a value between 0000001-9999999, only one value at a time, then use the 3 of 9 font to convert it to a barcode, then print that barcode to a particular network printer, then the value changes and never uses the older values ever again? I'm thinking it makes the most sense to instead of produce a random value, to just make sequential. Then obviously never use a value less than itself because it would likely have been used.
For example, you have 0000001, click the "print" button, it sends the 0000001 as a 3 of 9 barcode to print from the printer, then the value becomes 0000002 AND saves the file - so that the next time you hit print, it prints that value instead. Also, now that the file is saved, anyone else that opens the file in the future won't be able to go back in and use old numbers. What's the best way to go about this kind of thing?
Thank you!