Good Morning
I have a macro (Excel 365) that opens a file on sheet1 in column A Row 1 copies data then opens a file in column B row 1 pastes the data then saves the file then moves down to row 2 and does the same then to row 3 etc....etc.. (Thanks Joe4) What I can't figure out is the error handling. What I would like to do is let's say all is fine until I get down to a file in column B that someone has open. I won't be able to paste and save because I'll get the "A file named..... is already open" error. What I would like is to have the code place the name of that file in column A of sheet2 and then move on to the next file without me having to intervene. Any help on this would be greatly appreciated.
Sheet1
Sheet2
I have a macro (Excel 365) that opens a file on sheet1 in column A Row 1 copies data then opens a file in column B row 1 pastes the data then saves the file then moves down to row 2 and does the same then to row 3 etc....etc.. (Thanks Joe4) What I can't figure out is the error handling. What I would like to do is let's say all is fine until I get down to a file in column B that someone has open. I won't be able to paste and save because I'll get the "A file named..... is already open" error. What I would like is to have the code place the name of that file in column A of sheet2 and then move on to the next file without me having to intervene. Any help on this would be greatly appreciated.
Sheet1
Sheet2