mmbhatti
New Member
- Joined
- Mar 5, 2023
- Messages
- 8
- Office Version
- 365
- 2019
- 2016
- 2010
- 2007
- 2003 or older
- Platform
- Windows
- MacOS
- Mobile
- Web
Hello Excel Experts...
In my office, we have some excel files which re-used every year to collect and feed new data for the year. For this what we do is, make a copy of previously used Data file, delete previous entered data (except the rows/columns where formula exist), changes it's name and then save it with new year's name. In this way we make a fresh file for new use.
Now i want to manage it in vba code.
Is it possible that when make a copy of excel file, vba do the work in this way
First it check whether name of this file is changed, if yes, it ask for if I want to erase internal data or not. And do the work as we recommend.
...
I hope you understand my question...
In my office, we have some excel files which re-used every year to collect and feed new data for the year. For this what we do is, make a copy of previously used Data file, delete previous entered data (except the rows/columns where formula exist), changes it's name and then save it with new year's name. In this way we make a fresh file for new use.
Now i want to manage it in vba code.
Is it possible that when make a copy of excel file, vba do the work in this way
First it check whether name of this file is changed, if yes, it ask for if I want to erase internal data or not. And do the work as we recommend.
...
I hope you understand my question...