Helper monkey
Board Regular
- Joined
- Jun 23, 2002
- Messages
- 63
Hi,
I've got a potencial dilema. I have a macro that saves a copy of a worksheet (if a check box is checked on exit). As i am leaving the macro in the hands of people who's IT skills is at best limited and have less VB experiance than me i can forsee a disaster on the horizon. I'm running excel 97 and if prompted to save using the recommomended file type i will loose all the userforms (and a lot of time and effort).
The macro saves a copy of the worksheet with the date and text from two textboxes as the title. Obviously if the file already exists there's going to be a clash. I do not want to replace the existing file but save it with a slighly different name (eg add a number - file name would be blabladate2.xls) or have a userform pop up asking the user to enter an alternate name. Could i attach this to an error line of code? i.e. if error then...
I could do with some advice on this problem and am running out of time to find a solution.
Thanks in advance!
I've got a potencial dilema. I have a macro that saves a copy of a worksheet (if a check box is checked on exit). As i am leaving the macro in the hands of people who's IT skills is at best limited and have less VB experiance than me i can forsee a disaster on the horizon. I'm running excel 97 and if prompted to save using the recommomended file type i will loose all the userforms (and a lot of time and effort).
The macro saves a copy of the worksheet with the date and text from two textboxes as the title. Obviously if the file already exists there's going to be a clash. I do not want to replace the existing file but save it with a slighly different name (eg add a number - file name would be blabladate2.xls) or have a userform pop up asking the user to enter an alternate name. Could i attach this to an error line of code? i.e. if error then...
I could do with some advice on this problem and am running out of time to find a solution.
Thanks in advance!