If the registry solution doesn't work for you, I think I would choose to maintain the serial number in a database (Access or SQL) or absent access to a database, like this:
Put the template on the server. You can have the workbook_open event in the template open a workbook, also on the server, which contains its own workbook_open event. The 2nd workbook would open, increment a cell, save itself, and close itself. The first workbook (created from the template would have a link to that cell. To keep the number static, it would execute a paste value on the linked serial number cell and destroy the link.
I haven't tried this myself, so there might be a whole in my logic here but offer it only as a possible solution.
joefunsmith
Main Topics
Browse All Topics





by: byundtPosted on 2003-10-31 at 09:34:18ID: 9659068
Hi mayleeaburgoon, hange.com/ Applicatio ns/MS_Offi ce/ Excel/Q _20783162. html with reference to John Walkenbach's web page discussing serializing http://j-walk.com/ss/excel /tips/tip6 0.htm
I suggest you consider writing the order number to an entry in your registry. This approach was discussed in http://oldlook.experts-exc
Cheers!
Brad