Brie,
* Your step-by-step instructions match your macro exactly. And, when I run your macro, I get NO errors until it hits the very last line; got an error on the SaveAs line as it was trying to save file when the hard-coded filename already existed. ... NOTE: To get your macro to work for me, I had to edit the file PATHS so to match where I saved files on my PC, but I assume you have the right paths (for your PC) in your macro.
* I see that you also want macro to provide pop-up screen to prompt user for new filename (this would be a good thing to do). As you know, macro, as is, does NOT do this. So, to get a pop-up screen that works in conjunction with the last SaveAs line, then replace your last SaveAs line with the following two lines:
Once I did this, I didn't get any errors. Make this above code change; and try it. Then, if you still get errors, use the Breakpoints (under Debug Menu) to stop the code at key steps so that you can watch what it is doing (jumping back & forth between VB and Excel to watch step-by-step effect to Worksheet). Or, use the F8 button to step thru it 1 step at a time. If you still are stumped, then write back describing EXACT line of error, and what the error alarm message exactly is.
NOTE: If you insert code in your note, then remember to use CODE TAGS to properly format it. If you don't know what I mean by this, please go to Forum Rules and read the section on Code Tags. This is important for getting good & fast help! ... Good luck, sauerj
Bookmarks