Sets the sheet reference.
If the reference is set correctly it returns true otherwise it returns false.