However, this shortcut doesn’t work in MS Word, which uses a native method to paste plain text into the editor. On a Mac, press Command+Option+Shift+V to ‘paste and match formatting’ in a document. This method works in all major browsers while writing in WordPress, say for instance, and in most applications. To do that, press Ctrl+Shift+V to remove formatting instead of Ctrl+V on Windows. Using a keyboard shortcut is, by far, the easiest way to paste plain text without formatting on your computer.
The result over here was that all formatting was nicely preserved during concenation.Īgain I'm not saying this is the best method of the book.Using Notepad on Windows and TextEdit on Mac InsertBreak Type:=wdSectionBreakNextPage If Len(sFile) 0 And sFile "Test.doc" Then PageSetup.SectionStart = wdSectionNewPage SRoot = ThisDocument.Path & Application.PathSeparator
The code you could use could look something like this: All of them will attach to Normal.dot because the right templates aren't there.
Some have strict formatting some have manual formatting. I've attached a "test.doc" which will insert all the documents in the attachment into a new document.
In my opinion it could work.Ī little demonstration of how it could work. Depending on how you program things and depending on the documents used that might be true or false. You state that all will default back to Words love for Times New Roman 12 points. Yes again I totally agree strict formatting is o whole lot better then manual formatting and how bigger the document gets the more happy you'l be using strict formatting. (Up to date or not) Word will always remember the used formats in Strict formating styles or those styles we don't like of manual formatting.
If documents are no longer bound to a template (They originated from) Word will still hold the Styles that where used in that template. (And the paramarkers that hold the formats as well breaks who have the same function) The InsertFile method brings in a lot more then just pagesetup it also brings allong the styles or formats you've used.
I would however not state that you can't make this work due to formatting differences in styles! :rofl:īut like I said before Word has so many formatting capibillities that you can expect a whole lot more problems depending on what you're using. Yes guys I allready agreed that this was one of the cave-ats I mentioned before. I expect that the documents were manually formatted, and styles were not being used. The clue here is that the anomolous formatting ended up being Times New Roman 12 pt: the typical "default" used by Word. Joost: The section break will allow the page formatting to be retained but not the formatting differences due to styles. it does a fair job, but really.you want pixel level layout.get Quark XPress. Word is not a graphic layout application. However, with Styles, Bookmarks, FormFields, proper use of templates, and excellent coding capabilities (although sometime also weird and dumb) with VBA, and other tools, as a word processor, Word is top notch. Excuse me, but six lines of code to make a space?!!! In most cases, writing HTML is BETTER with WordPad. It bloat its HTML so much that it does not walk to a browser, it waddles and rolls like a fat duck. Pretending it is an HTML editor is marketing and nothing more. I love Word, but that does not prevent me from recognizing that some of it IS weird and dumb.įor example, Word is a word processor. Simply because there are some features of Word that are simply weird and dumb. As for using all of the features of Word.there is no one. EVERY paragraph uses a style.so why not use them correctly?įrankly, it is the very rare person who actually has need for even most of the features in Word. I point out that you can not use Word without styles. I teach Word and I get very frustrated at times with the "Using styles is too complicated" attitude.