• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Saving WB too two different Locations

Hello guys I can't seem to find how to save a 2007 workbook too two different locations, OneDrive and F:\ . I would like to operate this macro on the activation of the return key. One thing I don't want to bother with is when the macro is run a reminder msg "do you want to overwrite an existing file with the same name". I only want the macro to run on this workbook. I not sure if this is possible, can anyone help me? Thx
 
Hi,​
for each location use the SaveCopyAs method …​
To not have the message you may need to first set the DisplayAlerts property to False.​
Set it back to True before the procedure ends …​
 
Hi Marc L, thanks for responding to my call for help. I am trying to get away from the conventional way of saving the file. Thats why I wanted the return / enter key to activate the macro and that would do all the work in the background..
Thanks
 
Back
Top