Hi all,
Bear with me here. I have a template that when a user opens it, I have code that automatically does a save as to a different file name in a different folder. But the problem is, I don't want that code to run if the user then goes and opens that file later on. I only want it to run the first time they open the template. I thought maybe I could have it count the number of times it has been opened, and if it is equal to or greater than 1, then not run the code, but then I realized it might restart the count every time they opened that newly saved file every time.
Could I have it save the count to a cell in an invisible sheet, and the pull it from there every time?
I think that would work, but I don't know how to implement the count code on open. Please help!
Nate
Bear with me here. I have a template that when a user opens it, I have code that automatically does a save as to a different file name in a different folder. But the problem is, I don't want that code to run if the user then goes and opens that file later on. I only want it to run the first time they open the template. I thought maybe I could have it count the number of times it has been opened, and if it is equal to or greater than 1, then not run the code, but then I realized it might restart the count every time they opened that newly saved file every time.
Could I have it save the count to a cell in an invisible sheet, and the pull it from there every time?
I think that would work, but I don't know how to implement the count code on open. Please help!
Nate