Ahhh, okay, when you go to that worksheet dropdown menu, it (Excel) automatically assumes you are planning on writing code and it supplies the first and last line for you. Once you clear it, Excel brings you back to the "General" menu. Don't go back into the Worksheet menu. If you are still having problems, then the problem is elsewhere. I don't suppose you can upload your spreadsheet (clearing off any propriatary information first)?