Thanks Greg M! It didn't work right away, so I moved that blue line up one so that it protected before the save and now it works great! And the workbook that gets emailed is actually the new temporary one created, so I probably won't touch that other line of code. I don't really know a ton about VBA myself, but it looks like this code sets the name of the temporary file with the name Destwb in this first section here and then just references it down below. I'm not sure, but it works great!
Now that the worksheet is protected, is there a way to also protect the VB window that has all the code in it? My original workbook has this protected (I went into project properties and password protected it) but this temp file that gets emailed is unlocked so anybody can view the code. Is there a way to protect that as well by editing this macro? Thanks so much for your help, it's very much appreciated!
Bookmarks