fumei
Tue Mar 04 12:49:09 PST 2008
All good questions. Extrapolating from the subject of the post "how do I do
a return...", you apparently are asking about adding the Enter (or Return)
key effect. However, if you are going to work in programming in Word, you
have to learn to very specific and explicit.
"space" is very different from putting a paragraph mark (the effect of
pressing Enter/Return).
A string:
"University of Orgeon" & vbCrLf & "University of Florida"
would come out as:
University of Orgeon
University of Florida
University of Oregon, followed by a carriage return / line feed, followed by
University of Florida
However, Jean-Guy asks some good questions that you should give some
attention.
Jean-Guy Marcil wrote:
>> Hello,
>>
>[quoted text clipped - 4 lines]
>> University of Orgeon
>> University of Florida
>
>What are you doing exactly? Your probelm is pretty nebulous, to say the least.
>
>Do you need a space between the words or the lines?
>What are you programming? (I.e, what is your macro doing, overall?)
>Are these 3 examples above variables you are trying to incoprorate into a
>macro?
>Is your macro trying to add the spaces? Is that all it is doing?
>Is the macro supposed to act on these 3 lines of text as they are found in a
>document?
>Have you tried to write any code?
--
Message posted via
http://www.officekb.com