Jump to content
Sign in to follow this  
kiwikid

Reading text within cells of MS Word Document

Recommended Posts

kiwikid

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.

Share this post


Link to post
Share on other sites
big_daddy

If you can attach an example document I will see what I can come up with for you.

Share this post


Link to post
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
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.