I hate myself sometimes.
I found the problem - password protection. I removed it, and the code works
like it should.
"joel" wrote:
>
> Does the workbook have a "sheet2" (no dollar sign)? The dollar sign at
> the end of the sheet name is required using the ADO method because
> worksheets have a hidden dollar sign in the sheet name that you don't
> normnally see.
>
>
> --
> joel
> ------------------------------------------------------------------------
> joel's Profile: 229
> View this thread: http://www.thecodecage.com/forumz/sh...d.php?t=180404
>
> Microsoft Office Help
>
> .
>