how to read text............????

January 9th, 2009
  • i want to read a particular text from the word file the text is in the following format like

    this:(format)



    for eg:
    <12,12> <12,12> <2,5> like this
    i have structure of all this values now want to read this text(tags only) and have to write

    this into an dll ,please suggest me some soln for this,iam in a deep trouble....iam sending

    the sample word document of this type.....

    ++++++++++++++++++++++++++++++++++++++++++++++++++ +++++++++++++++++++++++++++++++++++++++
    <42,42> <100%> <4,5>
    this is heading42

    <32,32> <100%> <1,4>
    this is swheading.

    <42,42> <100%> <6,4>
    this is heading42..

    <12,12> <100%> <6,7>
    this is slug.this is slug.this is slug.this is slug.this is slug.this is slug.this is

    slug.this is slug.this is slug.this is slug.this is slug.this is slug.this is slug.this is

    slug.this is slug.this is slug.this is slug.this is slug.this is slug.this is slug.this is

    slug.this is slug.this is slug.this is slug.this is slug.this is slug.this is slug.this is

    slug.this is slug.this is slug.

    <.bodylaser> <9,9> <100%> <5,5>
    this is text.this is text.this is text.this is text.this is text.this is text.this is

    text.this is text.this is text.this is text.this is text.this is text.this is text.this is

    text.his is text.this is text.this is text.this is text.this is text.this is text.this is

    text.this is text.this is text.this is text.this is text.this is text.this is text.this is

    text.this is text.this is text.this is text.this is text.this is text.this is

    ++++++++++++++++++++++++++++++++++++++++++++++++++ ++++++++++++++++++++++++++++++++++++++++
    thanks in advance
    rajesh


  • I have no idea of what you want to do. But assuming you want to isolate the text between the less-than symbol and the greater-than symbol, consider building on the foll. code.Option Explicit

    Sub testIt()
    Selection.Find.ClearFormatting
    With Selection.Find
    .Text = "<"
    .Replacement.Text = ""
    .Forward = True
    .Wrap = wdFindContinue
    .Format = False
    .MatchCase = False
    .MatchWholeWord = False
    .MatchWildcards = False
    .MatchSoundsLike = False
    .MatchAllWordForms = False
    End With
    Selection.Find.Execute
    Selection.Extend ">"
    End Sub







  • #If you have any other info about this subject , Please add it free.#
    Your name:
    E-mail:
    Telphone:

    Your comments:


    If you have any other info about how to read text............???? , Please add it free.