You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser.
Am I Going Crazy?
-
Thread starter
S. Justin Gengo
-
Start date
I'm using the office add-in to create a word document based on a template
file.
In some areas of the document I need to insert a LineBreak (Not a new
paragraph) into the document. So far I can't figure out how to do this.
Can anyone help?
--
Sincerely,
S. Justin Gengo, MCP
Web Developer / Programmer
www.aboutfortunate.com
"Out of chaos comes order."
Nietzsche
Peter,
Thanks!
I'll give that a try.
--
Sincerely,
S. Justin Gengo, MCP
Web Developer / Programmer
www.aboutfortunate.com
"Out of chaos comes order."
Nietzsche
Peter,
Thanks again, but that's not it.
I want to insert the equivalent of a shift + enter in word because of the
way that special line feed reacts with a justified piece of text.
Selection.TypeParagraph(); inserts a regular paragraph. So I'm still
looking. If anyone out here knows how to insert shift + enter please let me
know.
--
Sincerely,
S. Justin Gengo, MCP
Web Developer / Programmer
www.aboutfortunate.com
"Out of chaos comes order."
Nietzsche
Well, I found the solution. If anyone else needs to insert a line break into
word using the office add-in here's how to do it:
ThisDocument.Application.Selection.InsertBreak(Word.WdBreakType.wdLineBreak)
--
Sincerely,
S. Justin Gengo, MCP
Web Developer / Programmer
www.aboutfortunate.com
"Out of chaos comes order."
Nietzsche