Hi Jan,
Long time no see :-)
I think your diagnosis is correct, though at this stage I am not 100%
sure. Access 2002 allows different syntax in the TransferSpreadsheet
method. By the way, it is not 19 you are looking at the l on the end of
Excel as a 1. It is just 9, but Access 2002 recognises a Excel 8-10
version option, for which the "code number" is 8, but we're not really
going backwards! Anyway, try it like this, and let us know...
.TransferSpreadsheet acImport, 8, "Download",
"C:\Excel\Download\Download.xls", True

Signature
Steve Schapel, Microsoft Access MVP
> Hi - Access 2002, WinME
>
[quoted text clipped - 52 lines]
> End Sub
> **********************End of Code*****************
Jan Il - 25 Feb 2004 20:57 GMT
Hi Steve!
> Hi Jan,
>
> Long time no see :-)
Yeah, it has been a while. See....if you didn't do such good work I'd have
to come back more often. ;-))
> I think your diagnosis is correct, though at this stage I am not 100%
> sure. Access 2002 allows different syntax in the TransferSpreadsheet
[quoted text clipped - 4 lines]
> .TransferSpreadsheet acImport, 8, "Download",
> "C:\Excel\Download\Download.xls", True
'k...I now see the twix on the Excel l and 9. Tends to help with the other
pair of eyes in place too. <g>
I've tried it with the new code and...Voila!! It's now back up to snuff!
;-)) This is really one of my favorite pieces of code. The function is so
slick and saves so much time I sure didn't want to lose it. Curious why it
won't work with the 9 in view of what you say about the 8-10 version option,
but, it must have to do with the different syntax with 2002 as you said.
However, I /never/ argue with good results, nor an Access MVP. <vbg>
Thank you again for your time and help, I truly appreciate it.
Best regards,
Jan :)
> > Hi - Access 2002, WinME
> >
[quoted text clipped - 52 lines]
> > End Sub
> > **********************End of Code*****************