Code:
Sheets("IE").Select
Cells.Copy
ThisWorkbook.Sheets("ie").Activate
Range("a1").PasteSpecial xlPasteValues
when it tries to paste the data, excel asks for the password (the source data file sheets are password protected). The thing is, if I dont enter a password and click ok or cancel, the data ends up getting pasted anyway
any way to bypass this alert?