Hello.
I have Office 2003, VB 2005 Express running on XP Home
I am trying to interfaces to Excel using some code from another forum. My problem fails on the first line of the code.
Imports
Microsoft.Office.InteropThe IDE complains that the Namespace or type is missing. I have included the references to "Microsoft Office 11.0 Object Library".
I have tried to install the required PIA by selecting the required option from the Office install but still I get errors. I have tried to use the PIA distribution pack, but that seemed to fail halfway through the install process.
I am really stuck now - how can i sort this out .
Any help greatly appreciated.
Thanks,
Richard

PIA references for Office.
Frédéric Feytons
Hi Richard,
I don't think Office.Interop is a valid namespace. Try adding a reference to the Excel 11.0 Object Library instead and then use:
Imports Microsoft.Vbe.Interop
You should then be able to interface with Excel.
Hope this helps,
Steve Hoag
Visual Basic Express
Roman-Alifanov
Richard