3
Answers

Extract required text from Word document using C#

Rohit Mehta

Rohit Mehta

8y
454
1

Can anyone tell me how to extract only required text from Word document using C#.

About Word document:

It contains some Simple text and Audio text and I want to Extract that text from word file and generate the Excel file.

Below storyboard Screen Shot-1 contains Simple text and Audio text and where you can see 2 Text color Blue and Black. Problem is to identify the Black color Text because it has some Simple Text and Audio Text and I want that Text into Excel in separate columns as displayed in Screen shot-2.

and i'm able to extract the text from Word document into Excel but problem is how can I identify Simple text and Audio text without changing the font style and color to generate Excel file.

Any help in this will be highly appreciated.

Thanks in advance.

Answers (3)