Thanks for your reply very much appreciated.
Not sure how you actually test the switch? The back sunroof works from the switch. I suppose the only way of being sure is to buy a new one? and if not it would point to the motor?
I have the Vauxhall Meriva with the two sunroofs. Front one has stopped working, back one okay. Checked fuses, but they are okay! Anyone, got any ideas?