Because the method to open an existing workbook is Workbooks.Open.

Signature
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54
Thanks Sue,
I changed my code line to the below and with my Excel App Closed Ran the code,
but nothing happened -- Excel didn't even open -- I previously had it open
and also the workbook TestOutlookDownload.xls
Set oWb = xlApp.Workbooks.Open(sWn)
Thanks for any other suggestions.
Jim
> Because the method to open an existing workbook is Workbooks.Open.
>
[quoted text clipped - 12 lines]
> > oWs.Cells(1, 1).Value = Application.ActiveExplorer.Selection(1).Body
> > End Sub
Sue Mosher [MVP-Outlook] - 31 Mar 2008 13:31 GMT
Nothing in your code would cause Excel to display the worksheet. If you want to display the workbook, you can set the Excel.Application object's Visible property to True and call the Workbook.Activate method.
Also, you may want to post your Excel-related questions in an Excel group.

Signature
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54
> Thanks Sue,
> I changed my code line to the below and with my Excel App Closed Ran the code,
[quoted text clipped - 8 lines]
>
>> Because the method to open an existing workbook is Workbooks.Open.
>> > Why am I getting error described at line 9 below?
>> >
[quoted text clipped - 10 lines]
>> > oWs.Cells(1, 1).Value = Application.ActiveExplorer.Selection(1).Body
>> > End Sub