I am trying to run a macro that works between two files. I would like be in File A and when the macro runs to open File B then copy Columns A:CK from sheet1 (fileB), return to File A and paste those columns in the File A sheet1. Then to return to File B and close the file and return back to File A. So far I record the macro using the macro recorder and although I have recorded the above somehow I end up in File B as it did not close.
Also, what can a person type in a macro that when asked if a person wants to save a file before closing, how to write a bit of code to accept "No" so the file closes without seeing that window and the file closes without saving that file?
Also, what can a person type in a macro that when asked if a person wants to save a file before closing, how to write a bit of code to accept "No" so the file closes without seeing that window and the file closes without saving that file?
Last edited: