Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
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 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Printing an embedded Word Object | Excel Programming | |||
Extracting text from embedded Word Object | Excel Programming | |||
Reference to an Embedded Word Object | Excel Programming | |||
Cannor strech embedded word object | Excel Discussion (Misc queries) | |||
should be possible to view entire MS Word embedded object in MS E. | Excel Discussion (Misc queries) |