mseit
asked on
How to read formated text from microsoft word table
any body can help me to how to read from word tables formated text i tried by the code as folows . but unable o get the table collection
ApplicationClass docApp = new ApplicationClass();
string filePath = "C:\\Test.doc";
object file = filePath;
object nullobj = System.Reflection.Missing. Value;
Microsoft.Office.Interop.W ord.Docume nt doc = docApp.Documents.Open(ref file, ref nullobj, ref nullobj, ref nullobj, ref nullobj, ref nullobj, ref nullobj, ref nullobj, ref nullobj,
ref nullobj, ref nullobj, ref nullobj, ref nullobj, ref nullobj, ref nullobj, ref nullobj);
Microsoft.Office.Interop.W ord.Table tbl = doc.Tables[0];
is anything wrong in my code
ApplicationClass docApp = new ApplicationClass();
string filePath = "C:\\Test.doc";
object file = filePath;
object nullobj = System.Reflection.Missing.
Microsoft.Office.Interop.W
ref nullobj, ref nullobj, ref nullobj, ref nullobj, ref nullobj, ref nullobj, ref nullobj);
Microsoft.Office.Interop.W
is anything wrong in my code
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.