I tried ur code.It works. The only thing u have to correct is the spellingmistake in line 2. Change "worksheetss" to "worksheets".Hope thi sworks.