I created a small activity in C#, Visual Studio to extract the datatable from a word document using “DocumentFormat.OpenXml” library.
The input required is the filepath of the document file, and a non-required input TableIndex that specifies which table to read from in the document (if there is multiple table exists), but by default this one is set to index 0 so if no value given it will return the value from the first table it finds.
Now since this activity returns datatype Data.Datatable, you can use the UiPath Excel activity to write the datatable into the excel file after executing this activity.
I hope this can be part of the solution your looking for
otico.GetDTFromWordDocument.Activities.0.1.0.nupkg (1.2 MB)