A
agraashish
Hi All,
I want to open a word document and search the last table in thedocumnet.Then
I want to select a specific column and append it in the table and then save
the word document.
I have tried many times but I am alwys facing the following problems:
1)The documnent alwys opens as a "Read Only Doc".
2)When I add a .Close() method on word object I get a warning saying
"Ambiguity between method 'Microsoft.Office.Interop.Word._Document.Close(ref
object, ref object, ref object)' and non-method
'Microsoft.Office.Interop.Word.DocumentEvents2_Event.Close'. Using method
group."Hence the Word Process does not end.
3)Most importantly I am not able to Paste the selected column of the table
in the end of the table as there is no parameter in the .Paste() method.
Thanks
I want to open a word document and search the last table in thedocumnet.Then
I want to select a specific column and append it in the table and then save
the word document.
I have tried many times but I am alwys facing the following problems:
1)The documnent alwys opens as a "Read Only Doc".
2)When I add a .Close() method on word object I get a warning saying
"Ambiguity between method 'Microsoft.Office.Interop.Word._Document.Close(ref
object, ref object, ref object)' and non-method
'Microsoft.Office.Interop.Word.DocumentEvents2_Event.Close'. Using method
group."Hence the Word Process does not end.
3)Most importantly I am not able to Paste the selected column of the table
in the end of the table as there is no parameter in the .Paste() method.
Thanks