Hi Bruce,
This should work. I copied this line directly from your post into the command window and it worked fine with Excel97. Sorry I can't be of more help but thought I'd confirm for you that your syntax is correct. Good luck.
>When I use for Excel97:
>
>oExcel=createobject("Excel.Application")
>
>I get a "server execution failed" error, though the same method works for Word97. What's wrong with the Excel code?
Colin Magee
Team Leader, Systems Development
Metroland Media Group Ltd.
Mississauga, Ontario, Canada
cmagee@metroland.comNever mistake having a career with having a life.