David Evans
Active Member
I use ActiveWorkbook.SaveCopyAs Filename to store a copy of the worksheet under a different name, while the "original worksheet" continues looping through other work.
Obviously the original worksheet is VBA controlled, but I don't necessarily want that VBA to function on the ActiveWorkbook.SaveCopyAs - i tried getting it t save the file with an .xlsx extension which it does, but it won't open ...
Anyone got any thoughts? Part of the issue is that the ActiveWorkbook.SaveCopyAs File Auto Opens but fails as the filename has now changed - should I just have a check in the Auto Open - if the filename is not equal to what the Mother file is, then stop all code?
You folks around here are usually full of elegant solutions, so I thought I'd try you ....
Obviously the original worksheet is VBA controlled, but I don't necessarily want that VBA to function on the ActiveWorkbook.SaveCopyAs - i tried getting it t save the file with an .xlsx extension which it does, but it won't open ...
Anyone got any thoughts? Part of the issue is that the ActiveWorkbook.SaveCopyAs File Auto Opens but fails as the filename has now changed - should I just have a check in the Auto Open - if the filename is not equal to what the Mother file is, then stop all code?
You folks around here are usually full of elegant solutions, so I thought I'd try you ....