Getafix1066
Board Regular
- Joined
- May 15, 2016
- Messages
- 57
Hi,
Sometimes I base a new spreadsheet based on an old one (i.e. I select file/save as and save it under a new name).
I then might drop many of the old worksheets if they're not longer relevant. I've noticed that the code (VBA) I've written often remains, despite the fact that the worksheet it belongs to is no-more.
Is there a way automatically deleting old code and macros?
Sometimes I base a new spreadsheet based on an old one (i.e. I select file/save as and save it under a new name).
I then might drop many of the old worksheets if they're not longer relevant. I've noticed that the code (VBA) I've written often remains, despite the fact that the worksheet it belongs to is no-more.
Is there a way automatically deleting old code and macros?