Thanks xladept, now I get a Run-time error 1004: Application-defined or object-defined error.