Re: How to get the plain text (without "||||||||||") from word ducment includes table?



Hi Cindy,

Thank you for your help.

I have tried walking through the paragraphs and then retrieve text by call
"paragraphs(index).Range.Text", as result the table like marks were still
there. It did not equal to the number of
"paragraphs(index).Range.Characters.Count" yet that the length of text
retrieved by invoke "paragraphs(index).Range.Text" What else should I do?

Hurry



"Cindy M -WordMVP-" <C.Meister-C@xxxxxxxxxx> :VA.0000ac46.004c949d@xxxxxxxxx
> Hi Hurry,
>
> > I have considered the field codes and hidden text, and have them to put
> > FALSE so that prevent them from appeared in the text. Is there a
> > specification about what unicode codes will be added into text (i.e.
table
> > mark)?
> >
> If you loop through the paragraphs you won't pick up any table characters.
> There is no way to "filter out" tables when picking up a document's
> range.text as a whole.
>
> Cindy Meister
> INTER-Solutions, Switzerland
> http://homepage.swissonline.ch/cindymeister (last update Jun 8 2004)
> http://www.word.mvps.org
>
> This reply is posted in the Newsgroup; please post any follow question or
> reply in the newsgroup and not by e-mail :-)
>


.



Relevant Pages

  • Re: How to get the plain text (without "||||||||||") from word ducment includes table?
    ... > I have tried walking through the paragraphs and then retrieve text by call ... Can you get the ANSI character codes for these "table marks"? ... reply in the newsgroup and not by e-mail :-) ...
    (microsoft.public.office.developer.com.add_ins)
  • Re: Paragraph sign
    ... toggle it on and off. ... broken paragraphs and tab marks inter alia. ... > letter because every time I write a sentence dots appear in between my ...
    (microsoft.public.word.newusers)
  • Re: what is this formatting mark?
    ... JoAnn Paules [MVP] wrote: ... I found that I could delete the paragraph marks without changing ... the formatting of the text on-screen. ... and whether having both them and paragraphs was superfluous ...
    (microsoft.public.word.general)
  • Re: Hiding TOC Markings
    ... button toggles between display of ALL nonprinting characters ... least the specific marks you want_, you should get the result you desire. ... with paragraph marks instead of styles to separate paragraphs. ... What I would like to do is continue to view the formatting marks, i.e., ...
    (microsoft.public.word.docmanagement)
  • Re: what is this formatting mark?
    ... I found that I could delete the paragraph marks without changing ... the formatting of the text on-screen. ... the space between paragraphs and what turns ... Yes - particularly in the world of document production where a mark that ...
    (microsoft.public.word.general)

Loading