Results 1 to 3 of 3

Thread: Reading Word using VB

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Aug 2001
    Location
    India
    Posts
    276

    Reading Word using VB

    Hi,
    I am in need of reading a Word Document and fetch the contents under a given heading. Assuming my Word Document to contain 3 headings - Heading 1, Heading 2 and Heading 3; I now want to get the contents and number of bullets (in level 1 only) for "Heading 2". Pls. note I will be aware of the phrase "Heading 2" and will have to search for it in the document.

    Thanks,
    Jemima.
    "Your worst days are never so bad that you are beyond the reach of God's grace...
    and your best days are never so good that you are beyond the need of God's grace."

  2. #2
    Don't Panic! Ecniv's Avatar
    Join Date
    Nov 2000
    Location
    Amsterdam...
    Posts
    5,343
    Sounds good - so what code do you have that we can help you with...?

    BOFH Now, BOFH Past, Information on duplicates

    Feeling like a fly on the inside of a closed window (Thunk!)
    If I post a lot, it is because I am bored at work! ;D Or stuck...
    * Anything I post can be only my opinion. Advice etc is up to you to persue...

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Aug 2001
    Location
    India
    Posts
    276
    Nothing much. I've been trying out some code at random.. and have only found the document.content.find method to locate the text I wanna search.

    There seems to be no straight forward methods that could read the contents under a specified header.

    Any hints could help.
    Jemima.
    "Your worst days are never so bad that you are beyond the reach of God's grace...
    and your best days are never so good that you are beyond the need of God's grace."

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width