segmentationfault
Programmer
I have an Excel file with macros intended to function as an electronic log book. When the "template" file is opened, it is immediately given a new number and saved using that number in an archive directory.
When input is finished, a macro is executed to email a copy of the file to notify other users. I would like to preserve certain functionaliy in the original file and disable it in the emailed copies. What's the best way to determine if the current file has been copied?
Currently I am comparing filepaths to a constant defined in the code. The emailed copies are detected because their paths do not match. Is there a better way?
When input is finished, a macro is executed to email a copy of the file to notify other users. I would like to preserve certain functionaliy in the original file and disable it in the emailed copies. What's the best way to determine if the current file has been copied?
Currently I am comparing filepaths to a constant defined in the code. The emailed copies are detected because their paths do not match. Is there a better way?