routine code but this error happens when it tries to activate the main workbook
code sequences
--> open file to copy and paste ot mainworkbook
---> copy contents in the opened file
--> error happens the macro tries to go to the main workbook ot paste
code sequences
--> open file to copy and paste ot mainworkbook
---> copy contents in the opened file
--> error happens the macro tries to go to the main workbook ot paste