

My personal preference is to work with a Range object that can be manipulated independently of the entire document. On the lower right corner inside Paragraph group, click the small arrow. You know, like PCs (and typewriters) have done for maybe 100 years. Word can very easily misinterpret anything else!) Why cant I create new paragraphs anymore Not too long ago, pressing Enter would act as a carriage return (create a new paragraph). (Note that if you're going to use this, the correct way to specify a new paragraph as part of a string is vbCr or Chr(13). One is to use InsertAfter, as has been mentioned in comments.

noindent should only be used when the paragraph does not directly follow another paragraph but something else such as a table or a section head (most styles do this automatically). There are various ways to get around this. To start a new paragraph you would use par.
#Neooffice new paragraph versus new line windows#
par is therefore mostly used when defining macros. Granted, these toolbar buttons are a very small subset of the settings currently in Format :: Paragraph menu's dialog, but since that dialog is very complex and has several tabs, I assume that you are looking for a floating palette window that has the most often used functions in it. Unlike PowerPoint, is available for free- the latest version for Windows or Linux can be downloaded from and NeoOffice.
#Neooffice new paragraph versus new line code#
This has the exact same effect as using par, but will make your code much more readable. Perhaps I'm mistaken to believe that a new paragraph produces a new line? Is there another way to add 10 lines in a loop where each can have a specific (not the same) style?Īctually, what's happening in the original code is that you're always replacing the content when you use Not that you do not want to start new paragraphs (you do want to keep paragraphs to reasonable lengths), but you should start new paragraphs by leaving an empty line in your TeX code. I was expecting 10 lines.Īs far as I can tell the Paragraphs.Add() with no arguments should create a new paragraph. I have an empty Word document at C:\temp\document.docs but after running the code there is only one line with the text "Paragraph 10". Set wordApp = CreateObject("Word.Application") I'm trying to add 10 lines to an existing Word document like this: Sub AddParagraphs() I'm using a macro in Excel to add information to a Word document.
