Embedded word object
Hi,
Is it possible to access the embedded word object in an Excel file via code. I'm using the C# and trying to access a word object in an excel file using the following code. Microsoft.Office.Interop.Word.Document doc = new Microsoft.Office.Interop.Word.DocumentClass(); doc = (Microsoft.Office.Interop.Word.Document)_excelData WS.Shapes.Item("WordDoc").OLEFormat.Object; I get errors relating to casting when trying this so would like to know if anyone has done this before and how they've done it? All help is greatly appreciated. Thanks in advance |
All times are GMT +1. The time now is 01:04 PM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com