Jump to content

Reading text within cells of MS Word Document


Recommended Posts

In my application I have a requirement to import a test procedure which is a MS Word document. These test procedures have step numbers, descriptions, and expected results listed within cells. During the import process I have to extract each of the fields into arrays for later use. The problem is that they're all in cells, and I can't figure out how to read directly from Word to get the individual elements. So far all I've done is convert the entire document into plain text and then parse the document looking for line breaks. In doing this I lose all of the text characteristics such as bold and different font colors that show emphasis. So, is there a way to keep that text intact as originally typed that can be parsed into seperate arrays? Thanks for the help in advance.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...