
Originally Posted by
Shmoedoe
Before I used to open the template created and it would generate a new number. I would then save it to an *.xls file and it would keep the number generated. If I would open that *.xls file later, it would have the same number. However, now I have run into a problem where everytime I open the *.xls file it is generating a new number. It is as though the *.xls is acting as if it were my template.
I am not sure if this fact has any effect, but, I have the template located on the server and a link on my desktop to that file. I have been emailing the *.xls file to coworkers and they have been opening it. I was shocked to see when I opened the template one day that the number had increased by 10. Is their opening the *.xls file on their system also increasing the number?
That's what the code does.= presently. Create a new workbook from the template, delete the PO number. Amend the code to this
Then save as *.xlt, overwriting the existing template. The code will not add a number if A1 is not empty.
Bookmarks