Re: New Line character in Word 2007
- From: "Chirag" <Chirag@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 4 Dec 2007 23:56:09 +0530
Try using Chr(11) instead of CrLf. That should get you Shift+Enter. Let me know how it turns out for you.
- Chirag
PowerShow - View multiple PowerPoint slide shows simultaneously
http://officeone.mvps.org/powershow/powershow.html
"John Austin" <John.Austin@xxxxxxxxxxxxx> wrote in message news:2FFE108E-53A1-48B2-B07A-A951CC3FA7C1@xxxxxxxxxxxxxxxx
I use VB script in a terminal emulation program to create Word documents
based on text stored on a mini-computer. I use ".Selection.TypeText
Text:=LetterText" to place text in the letter. CrLf in 'LetterText' becomes
New Paragraph in Word. My problem in Word 2007 is that inter-paragraph
spacing has been increased, so the name and address no longer fits in an
envelope window. I really need to use 'New Line' in Word (shift Enter) in
order for the address to print correctly. Is there a character compbination
that I can embed in 'LetterText' that will generate New Line rather than New
Paragraph in Word 2007? If not, how should I change the vb script to generate
New Lines between lines? The code must be backwards compatible as I have
users with old versions of Word.
I hope this makes sense!
--
John Austin
.
- Prev by Date: Re: Printer Port Name - NE00:
- Next by Date: How to get the history of played slides in VBA?
- Previous by thread: Re: Printer Port Name - NE00:
- Next by thread: How to get the history of played slides in VBA?
- Index(es):
Loading