In the program that I am working on, there is an error when the program tries to select a sheet. The code goes like this:

Sheets(dataSheet).select
and dataSheet is a valid sheet. I can't figure this out, what is going on, why is this an error?