This portion of code produces the following error if the sheet is hidden
run time error 1004 Copy method of worksheet class failed
I'd much prefer to keep the sheet hidden and still execute the code. The error still results if I include the sheet name
Any ideas?
thanks for looking
Nick
run time error 1004 Copy method of worksheet class failed
Code:
ThisWorkbook.Sheets(1).Copy
I'd much prefer to keep the sheet hidden and still execute the code. The error still results if I include the sheet name
Code:
ThisWorkbook.Sheets("BASE").Copy
Any ideas?
thanks for looking
Nick