Re: Word 2000, 2003, XP Question

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



You could use Chr(11) - a line break within a paragraph, but you seem to
have discovered this for yourself elsewhere in the thread?

--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>

PRedd wrote:
I have exactly the same problem in Word 2000 vs Word 97.

I have a Macro that builds up a text string as follows:

Str$ = "Part 1" & Chr(13) & "Part 2 and 3"

The macro then tries to find a sting in the underlying document and
replace it with the text that has been built up, with the included
formating (ie a carrige return and line feed between Part 1 and the
rest.

In Word 2000,if the test is found in a normal paragraph then the
formatting is fine. If the text is found within a table the the
CHR(13) is presented as a square box and the formattting is not valid.

What can I put in the string to ensure I get the required line break
even if the text to be replaced is in a table.



.



Relevant Pages

  • Re: Find and Replace in Bookmarked Text - First Occurence Only
    ... Doug Robbins - Word MVP, ... end of paragraph in a block of bookmarked text with a colon and the paragraph ... So i have Sub that accepts the name of the bookmark, ... the string to replace - but i am stuck finding the code to execute the actual ...
    (microsoft.public.word.vba.general)
  • Re: advice on merging several documents
    ... Provided the string is not in a table, the basic process is similar to that ... Word MVP web site http://word.mvps.org ... paragraph and then merging that paragraph from a number of word ...
    (microsoft.public.word.docmanagement)
  • Re: Checkbox -- delete or keep text
    ... Doug Robbins - Word MVP, ... "Greg Maxey" wrote: ... Each checkbox and the paragraph is ... Word MVP web site http://word.mvps.org ...
    (microsoft.public.word.vba.general)
  • Re: table style question, space before and after
    ... paragraph, but it would not make a difference if the row ... Microsoft MVP (Word) ... Word MVP FAQ site: http://word.mvps.org ... please post all follow-ups to the newsgroup so ...
    (microsoft.public.word.newusers)
  • Re: Merge Fields and Formating - How to easily repeat a pre-set merge.
    ... Please post any further questions or followup to the newsgroups for the benefit of others who may be interested. ... The> second set of information is a sample of the result. ... >> Doug Robbins - Word MVP ... The numbers are losing their formating. ...
    (microsoft.public.word.mailmerge.fields)