Creation of Word table

word

#1

hi guys
the solution to this problem is create an instance of Microsoft.Office.Interop.Word.ApplicationClass and using that instance.
you are allowed to create range,tables…ETC
do find the attached Solution to this problem
Main.xaml (8.4 KB)


#2

This example worked for what I needed but I couldn’t copy the code to my own project and run without errors. Despite adding the import for Microsoft.Office.Interop.Word thru the Imports I still had to manually modify the .xaml file. I was able to extract this line from your xaml and place it in mine to get the project running:

xmlns:moiw=“clr-namespace:Microsoft.Office.Interop.Word;assembly=Microsoft.Office.Interop.Word”

Thanks sanjay!