One such issue that has come up in XL97 quite often is the fact that when you use the SaveAs method, you get that file replacement error message regardless if the DisplayAlerts is on or off, should there already be a file with said name. Therefore, starting with XL2K, there is a SaveCopyAs method that will allow the code to save the workbook to any valid location without any error message coming up (provided security permissions are met on the OS side), and an added benefit, it doesn't change the references of external formulae in any other open workbook, like what SaveAs method would do. These are the 2 main differences between SaveAs and SaveCopyAs methods. I been using the SaveCopyAs method for my backup files, should any of my primary files go corrupt.
In case you are wondering, the backup program I put in is a secondary backup as the primary backup is the nightly backup. However, if either the IT department doesn't have the time to retrieve the backup or it's something that I need relatively quick and doesn't require much adjustment if any, then I will turn to my secondary backup. Main reason why I initially put in the secondary backup, not long after I started with the company, one of the department folders got deleted, and it took the IT department 3 weeks to finally decide to get the backup in place, and that left the department hung for some time without the things they needed. When that took place, I asked myself, "What would I do, if I needed something back and I didn't get it restored in a timely fashion as one would expect?" That very question and the action that the IT department showed in that situation is what prompted me to create a secondary backup system for my production reporting system.
Ronald R. Dodge, Jr.
Production Statistician
Master MOUS 2000
When the going gets tough, the tough gets going.