A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
When asking for help troubleshooting code, it is a good idea to supply the line of code in question. Most likely you have a typo. I am not aware of any problems selecting worksheets in VBA.