DrJeckyll
Technical User
- Nov 23, 2007
- 2
Hi guys
Can anyone tell me why Excel is greying out my spreadsheet when I copy from VBA code. I am taking advantage of the fact that when no before or after is specified excel creates a new workbook. The code is:
Worksheets("Output").Copy
I get a new book with a single sheet, "output", a copy of the sheet "output" in the original book, which is what I want, but its all greyed out.
anyone got any ideas?
Can anyone tell me why Excel is greying out my spreadsheet when I copy from VBA code. I am taking advantage of the fact that when no before or after is specified excel creates a new workbook. The code is:
Worksheets("Output").Copy
I get a new book with a single sheet, "output", a copy of the sheet "output" in the original book, which is what I want, but its all greyed out.