Some other thoughts.
You could have some similar code to that offered by Mike but running on file closure. If it is critical, you might also consider if the file is opened without macros enabled. And, in case the worksheet name changes, use the CodeName property.
regards,
Fazza