I get an excel (xlsx) file with two sheets everyday from our business partner. I would like to analyze this data but in my macro when
Sheets(2).Select
I get Run-time error '1004'
I tried with the sheet name, then I add a new sheet but I can't seletc that one either with macro. I recorded a macro 'select sheet' then I ran that macro and the same error message. Then I opened the file with
_corruptload:=XlCorruptLoad.xlRepairFile
but it didn't help