Do you want to create eye-catching, professional resumes, proposals, flyers, business cards and more? Then you should use the best Microsoft Word templates.
Word templates are MS Word documents formatted with a specific structure and layout. So, all documents made with the particular template will reflect the exact same structure and layout. Users can make a template their own by adding their specific content to the layout and changing features like colours, fonts and graphics.
Check out why you should go after MS Word templates:
- are a great branding tool that enable consistency in style across all documents
- promote efficiency because you don’t have to waste time recreating the same document layout over and over
- free you to focus on creating quality content
- bring a level of professionalism to your documents that can set you apart from the competition
These are wonderful benefits. Let’s take a look at over 28 of the best Microsoft Word templates you can download from Envato Elements and GraphicRiver.
Best Source for Microsoft Office Word Document Templates (With Unlimited Use)
Envato Elements offers thousands of beautiful and professional Microsoft Office templates for Word. Customise each template for Word to fit your needs.
Explore Microsoft Word Document Templates
Of course, you’re probably wondering: why pay when there are so many Microsoft Word templates that are free online? Unfortunately, most Word document templates found online may appear to be free. But using them will certainly cost you in terms of quality and professional reputation. The bottom line is that if you want to create quality documents then you need premium templates for Word.
The beauty of using Envato Elements is that it saves you time. And it also saves you money as well. That’s because you can download as many Microsoft Word templates as you like for one low monthly price. And that’s not all. The Envato Elements offer includes premium fonts, audio tracks, and a whole lot more. It’s truly the best bang for your buck if you have professional and personal creative needs.
Subscribe to Envato Elements Now
5 Best Microsoft Office Word Document Templates (From Envato Elements — For 2022)
Let’s take a closer look at some of the premium Microsoft Office templates for Word that are the most popular on Envato Elements:
1. Minimal Proposal Word Document Template Design
Get ready to make awesome proposals with this MS Word document template design. It’s very customizable and supports one-click color changing. The Microsoft Word styles download template comes in both A4 and US letter size formats. This project proposal Word document design is also print ready, so you can get it from the screen to your hands in no time.
2. Corporate Word Document Flyer Template
Need to create professional flyers for a trade fair or business conference? Look no further than the stunning Corporate Flyer Template. This MS Word styles download template has a visually pleasing layout for both sides of your flyer. The flyer comes in A4 page layout design size in Microsoft Word.
3. Modern Certificate 05 — Word Document Template Design
Are you planning a corporate event to recognize a valued employee? This certificate of appreciation is the perfect Microsoft Word layout design template.
It’s easy to customise. Along with the Word template design, you also get Photoshop and Illustrator files. This is in case you want to make changes to the graphic design elements.
4. Business Card — MS Word Document Template
Make sure your business card conveys the right impression. Check out these business card Microsoft Office templates for Word.
The Word document layout design uses the US business card size and offers both a front and back design. Easily change the colours to your brand colours. If you’ve got Word document design ideas for a business card, you can apply them here.
5. Minimal Business Invoice Word Template
Do you need to create professional-looking invoices? Then Envato Element’s graphic design templates for Word can help you there, too. This Microsoft Word template will help you create on-brand invoices quickly and easily every time. Download it and give this page Word layout design a try.
Envato Elements (Design Without Limits)
As you can see Envato Elements’ Microsoft Word templates are professional, versatile and easy to use. With unlimited downloads, choose as many Word document templates as you want!
One low monthly fee = unlimited access the best Microsoft Word templates you can download. Also, to thousands of premium digital assets. Along with high-quality templates for Word, you’ll get access to:
- Logos
- Fonts
- Photos
- Business card templates
- And much more
Envato Elements is an excellent option. But if you’re looking to buy one Word document design template, GraphicRiver may be a better option for you.
24 Best Microsoft Office Word Document Templates on GraphicRiver (Buy One at a Time — 2022)
GraphicRiver is another resource that offers a plethora of excellent Microsoft Word templates. Buy these one-at-a-time instead of as part of a monthly plan.
Do you need a one-off modern Word template but have a tight budget? Then choose GraphicRiver. It’s a great option for the best Word templates for all types of projects. Let’s take a look at 24 Microsoft Word layout design templates to download found there:
1. Creative Company Profile Book
Profiling what your company is all about can be a challenge if you’re not great with design. That’s where using Microsoft Word document templates like this one can help. It comes with 24 unique pages that are easy to customize. Colors, objects, and more are all editable, letting you add your branding. Try it instead of a MS Word template that’s free.
2. Creative Resume CV Template MS Word
Here’s a premium Microsoft Word template design that’s made for modern resumes. The versatility of the layout makes the resume perfect for a number of fields. It’s also customizable so you can easily add your information to the Word document design. Download this modern Word DOC template now!
3. Doctor and Medical Services Flyer Template for Word
Are you working on the marketing for a new clinic, dentist office, or medical supplies company? Then this Microsoft Word template layout design will come to your aid. It’s a simple flyer that offers space to share information about your services.
The modern layout ensures that you put your Word document design ideas in the best light possible. If you’re outside of the medical industry but like the look? You can still make use of this versatile MS Word template.
4. Wedding Photography Brochure Word Template
Microsoft Word templates are for all occasions, including weddings. This photography brochure is a great example. It’s a Word document design template made for showing off your work. Use it to bring in couples that are looking for a photographer.
5. Invoice Word Document Design Template
Invoices are another touchpoint your clients have with you. Make sure yours looks professional by using a MS Word invoice styles download like this one. You’ll get both A4 and US Letter size options when you use this template. In this Microsoft Word layout design, you’ll get:
- free fonts
- InDesign and Word files
- one click color change
- ready to print documents
6. Annual Report Word Template Design
There are a lot of free graphic design templates for Word you could use for your annual report. But this premium option has a modern design and features free choices usually lack. The annual report Word template design has 48 unique pages that you can customize. Fit in your brand’s colors in a matter of clicks. The A4 and US letter size MS Word template design also features great infographics for data.
7. Minimalist Magazine Templates for Word
If you’ve always wanted to do a magazine, here’s a great choice. With these templates for Word, you won’t need to master design software.
This Word document design template features a modern design in 16 unique pages. It comes in square size and it’s fully customisable. Don’t fall for MS Word templates that are free. Try a premium one instead.
8. Annual Report Word Document Templates
Annual report MS Word document templates are always helpful. This Word template features a minimalist and clean design. Premium MS Word page design and layout templates like this are very complete. It’s features include:
- A4 size and US Letter
- 30 custom pages
- editable in InDesign and MS Word
- print ready, CMYK, 300 DPI, bleed
- easy to customise
9. Blue and White Word Brochure Layout Design
Create top quality brochures with this MS Word document design from GraphicRiver. The 16 page customisable document comes in two sizes A4 and US letter size.
Add your own photos and text to the page layout design in Microsoft Word. Change the colours to reflect your brand and there’s a helpful file guide included. You won’t find this type of quality from Word templates for free you find online.
10. Minimal Invoice MS Word Template
Next up on our list of Word document design templates is Minimal Invoice. Make your invoices reflect your awesome brand with this invoice template example in Word. The template is structured with a grid-based layout to keep your information in perfect order. The MS Word page design and layout is US letter size and includes a PDF help file.
11. Project Proposal Word Templates
This is one of our best Word templates for projects like proposals. It stands out thanks to its minimalist and modern design. Free Word templates can be tempting, but they aren’t as complete as this one. This MS Word document template’s features include:
- 30 unique pages
- invoice template included
- 2 sizes: A4 and US Letter
- editable in InDesign and MS Word
- based on master pages
- fully customisable
12. Cleaning Company Flyer Word Template
Service companies who need to create professional flyers will be happy we’ve included this MS Word template. The Microsoft Word styles download specifically targets cleaning companies. But it can be used by any service company that wants to promote their services. The A4 size flyer offers three alternative designs and three colours. Use it if you’re after the best Word templates for a cleaning business.
13. Word Document Resume Template
In our top list for 2022, we’ve already included two single page resumes with photos included. This Word resume template goes in a different direction. The A4 size template offers up to three pages of resume for those of you who need more pages. There’s also a cover letter that can be used as a thank you. You’ll have plenty of room for all of your Word document design ideas in this template’s pages.
14. Company Brochure Word Template
This Word document template combines an attractive design and business professionalism. The spacious and elegant design ensures that you can fit all the necessary information about your company on the Word template. All content is editable, and the colours can be changed in one click. It’s one of the top graphic design templates for Word to try out for your brand.
15. The Resume/CV Word Document Design
This Microsoft Office Word resume template is quite different from the others featured here. It favours a scaled back full text header, one column and a completely scaled back minimalist layout. The MS Word template’s A4 paper size and offers a cover letter template to go with the resume template.
16. Project Proposal — Microsoft Word Template
When creating a proposal for a client you need to put your best foot forward. This project proposal template is the perfect Word doc template to present your company in the best possible light.
This professional Word template design includes a bonus invoice and meet the team page and it’s easy to customise. If you’re looking for templates for Word, don’t miss this one.
17. Proposal Template for Word
Proposal Template for Word helps simplify the process of creating any type of project proposal. For your convenience, this MS Word template is based on free fonts. Whatever your project proposal template needs are, this Microsoft Word styles download will help.
18. Invoice Microsoft Word Templates
An invoice template is one of the most useful templates for Word. This fresh MS Word template is one of our newest additions. It comes in A4 size and in five colour variations. This is one of the best Word templates, and it’s easy to edit in Photoshop and Illustrator too.
19. Company Profile MS Word Templates
Are you looking for Word templates to renew your company profile? Look no further than this one. It’s one of our newest templates for Word. This clean and professional Word template includes 16 pages. Other features include:
- A4 size and US Letter
- editable in InDesign and MS Word
- CMYK colour mode and print ready files
- 300 DPI
- free fonts used
20. Corporate Letterhead Word Document Design
Nothing says professional like a letterhead. Get a modern looking option for your brand with this Microsoft Word styles download. Using it is easy. Open the Word DOC template and add your business logo, business information and brand colours. You’re done!
21. Business Plan Word Template
This Microsoft Office Word document design template for download is made for business plans. The A4 file comes with 32 customizable pages. It has automatic page numbering, as well as a link to free fonts you can use. Of course, you can always customize the page layout design in Microsoft Word with other great typefaces.
22. Minimal Print Template Bundle
We wrap up our list of the best Word templates for projects with the Pitch Pack. It comes with just about everything you need for branding. Don’t believe me? This bundle of graphic design templates for Word includes:
- project proposal
- resume and cover letter
- letterhead
- invoice and estimate
- moodboard
- two business cards
- PowerPoint presentation template
As you can see, you’ll get no shortage of the best Word templates and layouts with this download.
23. Proposal 24 Pages | DOCX | InDesign Template
Here’s another example of an effective MS word template for business needs. It’s a proposal that’s packed with modern design choices and useful features.
The word document template design has 24 pages. Each one is customizable, letting you take advantage of image placeholders, infographics, and more. Use this Word document template if you want to present to leads with confidence.
24. Company Profile Brochure Template
Do you need Microsoft Word templates to tell clients who you are? Then this is a great option for you. It’s one of the coolest templates for Word thanks to its contemporary design. It also has great features, like:
- 16 editable pages
- PowerPoint and InDesign files
- customizable color scheme
- image placeholders
- print-ready Word layout design
Get the Most Out of Your Microsoft Word Doc Templates
To help you get the most out of the high-quality Word 2022 templates, you need to know how to edit the template. It needs to fit your particular business and what your business is trying to do.
In our example, we’re going to be creating a project proposal and be using the MS Word template Project Proposal.
To follow along with our tutorial, download the template. Here are five tips to help you customise this Microsoft Word template:
1. Contact Information
While this may be obvious, you’ll want to make sure that you include the appropriate contact information that’s on the first page. Nothing looks more unprofessional than forgetting to include this crucial information. So, before you even begin your proposal, type in the correct contact information.
2. Edit Spacing
While this MS Word template already comes with a professional layout, you may still want to add more space on the columns for your text. Each column and shape can be resized by simply clicking on the element and dragging the cursor to the desired size.
3. Change Colours
While the default blue colour may work for your particular business you may want to customise the colours to fit the brand identity. To change the colour of the shapes in the project head on to the Shading icon and choose your desired colour.
4. Add Images
To help illustrate a point, you may want to include images in the template. To place pictures in your template, click on the menu header and choose Insert > Pictures > Picture From File. From there, add any image from your computer.
5. Change the Thickness of Dividers
The design features many pages that have dividers to help segment the different sections on your pages. By default, these dividers are quite thin. If you need thicker dividers, click on the divider and adjust the width in the right-hand menu.
5 Quick Microsoft Word Tips to Make Professional Documents in 2022
Customising the perfect Microsoft Word template is only the first step. To make the most out of your template, here are five quick Microsoft Word tips to keep in mind:
1. Use Shapes to Create Interesting Layouts
Make your template more visually appealing by adding coloured shapes behind certain elements. For example, see the Microsoft Office Word Invoice template above. This will also give you another opportunity to use your brand colours and stand out from the crowd.
2. Learn Microsoft Word Shortcuts
Learning Microsoft Word shortcuts will speed up your workflow and make you the master of Word. View existing shortcuts and create your own by going to Tools > Customize keyboard.
3. Use More Than One Font
Microsoft Office comes with many fonts that you can use in your templates and documents. Using more than one font, like in this MS Word template, creates a pleasing hierarchy and make your document look more professional.
4. Use Smart Lookup to Quickly Find Information
If you’re doing any type of research and using a Microsoft Office Word template, you don’t have to fire up a browser window to look something up. Simply highlight the words, right-click, and use Smart Lookup to find relevant information.
5. Combine Photos and Shapes
Another way to make your template more visually pleasing and engaging is to combine photos and shapes. Take cues from this beautiful Microsoft Word resume template featured below.
5 Top Microsoft Word Document Style Design Trends for 2022
Microsoft Word isn’t only for plain text documents. And you don’t need to master complex design software. With these Word layout design trends, your documents will look modern and truly professional:
1. Remember the White Space
The first Word layout design trend is about white space. It’s the area between the design elements in any composition. When you leave enough white space in your Word layout design, it looks clean and organized.
When browsing through Microsoft Word templates, pick one with enough white space, like this below:
2. Save Time With Macros
This Word document design trend is fantastic. If you’re short on time or constantly work with Word document templates, you’ll love it.
Macros in MS Word are commands that are recorded and launched with keyboard shortcuts. They’re great for automating steps and can help with:
- setting up customised formatting
- creating tables
- inserting a group of objects in a document
- finding and replacing words
Learn all about it here:
3. Aim for a Visual Design
MS Word isn’t just for text. This Word document design trend is about its visual elements. Think about your type of document, your audience and how they’d like to receive your information.
Look for templates for Word with visuals and colours. Use high-quality images, charts and infographics.
4. Try Clip Art for a Fun Touch
This Word layout design trend adds a fun touch to your MS Word documents. Have you heard of clip arts in this software? These are drawings and illustrations that you can easily add to your documents.
MS Word has a built-in online browser you can use to find clip art for your projects. Learn how to use it here:
5. Use Trendy Colors
This Word layout design trend will give your document a modern and fresh look. Using popular colors will make sure your design always looks current. Companies like Pantone are among popular trendsetters that designers look towards. Try them on your Word document templates and stand out from the crowd.
Discover More Great Microsoft Word Doc Templates
To find out more about Word document templates, check out our guide to choosing and using Microsoft Word templates. You’ll also find a great selection of templates for Word in these articles:
Where to Find the Best Microsoft Office Word Document Templates in 2022 (Envato Elements vs GraphicRiver
Envato Elements and GraphicRiver both have the highest quality Microsoft Word templates available on the web in 2022. But what marketplace should you download these Modern MS Word templates from? What are the different features for the items on GraphicRiver and Envato Elements?
1. Benefits of Envato Elements
For a low monthly cost, access a massive library of creative templates. Not only can you access all these Microsoft Office templates. You get access to photos, videos, fonts, and many other resources that could be helpful to you.
Download as many Microsoft Word templates you need with the Envato Elements monthly subscription. You can also download web templates, fonts, add-ons, and graphic assets. There are plenty of quality Microsoft Word templates with on-trend designs on Envato Elements!
2. Benefits of GraphicRiver (& Envato Market)
GraphicRiver is a leading marketplace for creative assets. Unlike Envato Elements, you can buy these items one-at-a-time. In the GraphicRiver marketplace, choose from over two thousand eye-catching Microsoft Word templates. These Word templates are a valuable resource to display your business’s important information. Buy these Word document templates one at a time.
Here are some of the best-selling modern Microsoft Word templates for 2022:
Which One Is Right For You?
This all depends on your job and whether you’ll be needing more Word document templates in the future. If you’re an entrepreneur or a graphic designer with many clients, then Envato Elements offers the best bang for your buck.
If you need one specific Word doc template and won’t need any future MS Word templates, then GraphicRiver is your go-to choice to find what you need.
Common Microsoft Word Document Questions Answered (FAQ)
If you’re using Microsoft Word for any of your documents, you may have some questions about this powerful program. Here, we’ve gathered some of the most common questions about MS Word along with answers to those questions:
1. Can I Use Microsoft Word for Free?
While Microsoft Word is a part of Office 365 that requires a paid subscription, there’s an online version of Microsoft Word that you can use for free.
Keep in mind that the online version has fewer features than the regular Microsoft Word version. So, it’s probably not the best choice if you need to do heavy editing.
2. Can I Change Built-in Text Styles in Microsoft Word?
Yes, you can. Changing them is easy and you can use any font that’s installed on your computer. We’ve got a detailed guide that’ll help you change and format Microsoft Word text styles:
3. How Can I Add Images to Microsoft Word Documents?
Adding and formatting images in Word will make your document visually engaging. Get creative with images in Word by following the tips laid out in our tutorial on adding, moving and formatting images in Word.
4. Can I Collaborate With Others on Microsoft Word Documents?
Yes, collaborating with one or more people on your Word documents is possible. All you’ve got to do is share your document with them by sending them an email invite, sharing a link or sending them a copy of the document in an email.
5. How Do I Add Tables to Microsoft Word?
Adding tables to your document is a great way to make your information stand out. Luckily, you can add great-looking tables in Word. We’ve got the guide to walk you through the entire process of making and customising tables in Word:
Learn More About Using Microsoft Word
Microsoft Word has many features that can be quite difficult to understand. To get the most out of Microsoft Word, study our tutorial learning guide on how to use Microsoft Word. I’ve also collected three Tuts+ articles that’ll help you learn the basic features of the program:
Choose Your Favourite Microsoft Word Template Today
When choosing Microsoft Word templates for your precious business, don’t fall into the trap of getting free Word templates. Only the best will do.
For the best premium Microsoft Word templates for projects Envato Elements is an excellent place to start. Their templates offer a variety of designs and are versatile and easy to use. If you use a business or design resource regularly (such as a font, icon, or template), Elements offers unlimited downloads for one low monthly fee.
If you’re looking to buy an individual template, GraphicRiver is an excellent alternative for Word 2022 templates. It’s also a great place to find all kinds of Microsoft Office templates.
Head on over to either site today to choose your favourite template. Start creating documents that’ll do your business proud.
Editorial Note: This post has been updated with contributions from Daniel Strongin, Brenda Barron, Maria Villanueva, and Nathan Umoh. Daniel and Brenda are freelance instructors for Envato Tuts+. Maria is an Associate Editor for Envato Tuts+ Design & Illustration. Nathan is a staff writer with Envato Tuts+.
Work design magic with Word templates
Weave a little wow into your next document when you work with a customizable design template for Word. From professional documents to schoolwork, there’s a Word template that’ll take your next project to the next level.
Start with the best Word templates
Show all
Frequently asked questions
You can use Word document templates to design resumes and cover letters, create business invoices, customize annual calendars, and more. There are also templates that you can use throughout your business’s internal operations. Use Word document templates to create a business plan, design and share your org chart, and make printable letter head.
You can make your own Word document templates from scratch. Create documents that fit your exact needs since the options are limitless when using Word. If you don’t know how to begin, you can also edit existing templates and customize them so that their content, colors, fonts, and media are curated for you.
You can find Word templates by using the search bar. When you search «Word,» a variety of templates will come up in the results. You can customize their colors, text, media, and more.
Explore other templates
In this Article
- VBA PDF (Free Downloads)
- Word VBA Examples “CheatSheet”
- Select / Go To
- Bookmarks
- Document
- Columns
- Font
- Insert
- Loops
- Paragraph
- Word VBA Macro Tutorial
- Simple Word Macro Example
- Word Macro Basics
- Word Document Object
- Application
- Documents
- Document Methods
- Range, Selection, Paragraphs
- Range
- Selection
- Paragraphs
- Word VBA Tutorial Conclusion
- Word Macro Examples
- Word VBA FAQs
Welcome to our Word VBA / Macros Mega-Guide!
This page contains:
-
- Word VBA Tutorial PDF (Free Download)
- Word VBA “Cheat Sheet” containing a list of the most commonly used Word VBA code snippets
- Full Word VBA / Macro tutorial.
- Searchable list of all of our Word VBA Macro Tutorials
You might also be interested in our Interactive VBA Tutorial for Excel. While some of the examples / exercises are specific to Excel VBA, much of the content is generic to all VBA and you may find it useful to learn concepts like If Statements, Loops, MessageBoxes, and more.
VBA PDF (Free Downloads)
Download our free Microsoft Word VBA Tutorial! Or VBA Tutorials for other Office Programs!
Download
Word VBA Examples “CheatSheet”
Below you will find simple VBA code examples for working with Microsoft Word.
Select / Go To
Backspace
Selection.TypeBackspace
Select Entire Document
Selection.HomeKey Unit:=wdStory
Selection.Extend
Delete
Selection.Delete Unit:=wdCharacter, Count:=1
Insert After
Selection.InsertAfter “text”
Beginning of Line
Selection.HomeKey Unit:=wdLine
End of Line
Selection.EndKey Unit:=wdLine
Select All
Selection.WholeStory
Select Entire Line
Selection.EndKey Unit:=wdLine, Extend:=wdExtend
Move Up Paragraph
Selection.MoveUp Unit:=wdParagraph, Count:=1
Move Right One Character
Selection.MoveRight Unit:=wdCharacter, Count:=1
Move Right One Cell in Table
Selection.MoveRight Unit:=wdCell
Go To Start of Doc
Selection.HomeKey Unit:=wdStory
Go To End of Doc
Selection.EndKey Unit:=wdStory
Go To Page 1
Selection.GoTo What:=wdGoToPage, Which:=wdGoToNext, Name:=”1″
Go To Top of Page
Selection.GoTo What:=wdGoToBookmark, Name:=”Page”
Selection.MoveLeft Unit:=wdCharacter, Count:=1
Return to Top
Bookmarks
Add
With ActiveDocument.Bookmarks
.Add Range:=Selection.Range, Name:=”Name”
.DefaultSorting = wdSortByName
.ShowHidden = False
End With
Count
Dim n as Integer
n = ActiveDocument.Bookmarks.Count
Delete
ActiveDocument.Bookmarks(“BookmarkName”).Delete
Exists?
If ActiveDocument.Bookmarks.Exists(“BookmarkName”) = True then
‘Do something
End If
Go To
Selection.GoTo What:=wdGoToBookmark, Name:=”BookmarkName”
Select
ActiveDocument.Bookmarks(“BookmarkName”).Select
Replace Text
Selection.GoTo What:=wdGoToBookmark, Name:=”BookmarkName”
Selection.Delete Unit:=wdCharacter, Count:=1
Selection.InsertAfter “New Text”
ActiveDocument.Bookmarks.Add Range:=Selection.Range, _
Name:=”BookmarkName”
Return to Top
Document
Activate
Documents(“Example.doc”).Activate
Add to Variable
Dim doc As Document
Set doc = Documents.Add
Add (From Another Doc)
Documents.Add Template:=”C:FormsFormDoc.doc”, _
NewTemplate:=False
Close
Documents(“Example.doc”).Close
Close – Save Changes
Documents(“Example.doc”).Close SaveChanges:=wdSaveChanges
Close – Do Not Save
Documents(“Example.doc”).Close SaveChanges:=wdDoNotSaveChanges
Close – Prompt to Save
Documents(“Example.doc”).Close SaveChanges:=wdPromptToSaveChanges
Return to Top
Columns
Save As
Documents(“Example.doc”).SaveAs (“C:ExampleExample.doc”)
Save
Documents(“Example.doc”).Save
Protect
Documents(“Example.doc”).Protect Password:=”password”
Unprotect
Documents(“Example.doc”).UnProtect Password:=”password”
Number of Pages
Dim varNumberPages as Variant
varNumberPages = _
ActiveDocument.Content.Information(wdActiveEndAdjustedPageNumber)
Documents(“Example.doc”).Print
Return to Top
VBA Coding Made Easy
Stop searching for VBA code online. Learn more about AutoMacro — A VBA Code Builder that allows beginners to code procedures from scratch with minimal coding knowledge and with many time-saving features for all users!
Learn More
Font
Size
Selection.Font.Size = 12
Bold
Selection.Font.Bold = True
Italics
Selection.Font.Italic = True
Underline
Selection.Font.Underline = wdUnderlineSingle
All Caps
Selection.Font.AllCaps = True
Color
Selection.Font.TextColor = vbRed
Name
Selection.Font.Name = “Abadi”
Subscript
Selection.Font.Subscript = True
SuperScript
Selection.Font.Superscript = True
Highlight Color
Selection.Range.HighlightColorIndex = wdYellow
Style
Selection.Style = ActiveDocument.Styles(“Normal”)
Return to Top
Insert
Insert AutoText
Selection.TypeText Text:=”a3″
Selection.Range.InsertAutoText
Insert File
Selection.InsertFile (“C:DocsSomething.doc”)
Insert Page Break
Selection.InsertBreak Type:=wdPageBreak
Insert Paragraph Symbol
Selection.TypeText Text:=Chr$(182)
Insert Tab
Selection.TypeText Text:=vbTab
Insert Text
Selection.TypeText Text:=”Any Text”
Insert Type Paragraph
Selection.TypeParagraph
Insert Paragraph
Selection.InsertParagraph
Return to Top
Loops
Do Until End of Doc
Do Until ActiveDocument.Bookmarks(“Sel”) = ActiveDocument.Bookmarks(“EndOfDoc”)
‘Do Something
Sub
For Each Doc in Docs
Dim doc As Document
ForEach doc In Documents
‘Do Something
Next doc
Loop Through Paragraphs
Sub through Paragraphs
Dim i As Long, iParCount As Long
iParCount = ActiveDocument.Paragraphs.CountFori = 1 To iParCount
ActiveDocument.Paragraphs(i).Alignment = wdAlignParagraphLeft
Next i
Return to Top
VBA Programming | Code Generator does work for you!
Paragraph
KeepLinesTogether
Selection.ParagraphFormat.KeepTogether = True
KeepWithNext
Selection.ParagraphFormat.KeepWithNext = True
Space After
Selection.ParagraphFormat.SpaceAfter = 12
Space Before
Selection.ParagraphFormat.SpaceBefore = 0
Align Center
Selection.ParagraphFormat.Alignment = wdAlignParagraphCenter
Align Right
Selection.ParagraphFormat.Alignment = wdAlignParagraphRight
Align Left
Selection.ParagraphFormat.Alignment = wdAlignParagraphLeft
Left Indent
Selection.ParagraphFormat.LeftIndent = InchesToPoints(3.75)
Right Indent
Selection.ParagraphFormat.RightIndent = InchesToPoints(1)
Line Spacing
With Selection.ParagraphFormat
.LineSpacingRule = wdLineSpaceExactly
.LineSpacing = 12
End With
Loop Through All Paragraphs
Sub through Paragraphs
Dim i As Long, iParCount As Long
iParCount = ActiveDocument.Paragraphs.CountFori = 1 To iParCount
ActiveDocument.Paragraphs(i).Alignment = wdAlignParagraphLeft
Next i
Return to Top
Word VBA Macro Tutorial
This is a tutorial for using VBA with Microsoft Word. This tutorial will teach you how to write a simple Macro and interact with Documents, Ranges, Selections, and Paragraphs.
Note: If you’re brand new to Macros / VBA you might also find this article useful: How to write VBA Macros from Scratch.
VBA is the programming language used to automate Microsoft Office programs including Word, Excel, Outlook, PowerPoint, and Access.
Macros are blocks of VBA code that perform specific tasks.
When you Record a Macro, Word will write VBA code into a Macro, allowing you to repeat your actions. You can see a list of all available Macros from View > Macros.
After recording a Macro, you will be able to edit the Macro from the Macro List:
When you click Edit, you open the VBA Editor. Using the VBA Editor you can edit recorded Macros or write a Word Macro from scratch. To access the VBA Editor use the shortcut ALT + F11 or click Visual Basic from the Developer Ribbon.
Simple Word Macro Example
This is a simple example of a Word VBA Macro. It performs the following tasks:
- Opens a Word Document
- Writes to Document
- Closes and Saves the Word Document.
Sub WordMacroExample()
'Open Doc & Assign to Variable
Dim oDoc As Document
Set oDoc = Documents.Open("c:UserssomeoneNewDocument.docx")
'Write To Doc
Selection.TypeText "www.automateexcel.com"
Selection.TypeParagraph
'Save and Close Doc
oDoc.Save
oDoc.Close
End Sub
Word Macro Basics
All VBA code must be stored within procedures like this. To create a procedure in VBA type “Sub WordMacroExample” (Where “WordMacroExample” is your desired Macro name) and press ENTER. VBA will automatically add the parenthesis and End Sub.
Word Document Object
When interacting with Microsoft Word in VBA, you will frequently reference Word “Objects”. The most common objects are:
Application Object – Microsoft Word itself
Document Object – A Word document
Range Object – A part of a Word document
Selection Object – A selected range or cursor location.
AutoMacro | Ultimate VBA Add-in | Click for Free Trial!
Application
Application is the “top-level” object. All other objects in Word can be reached through it.
In addition to accessing other Word objects, there are “application-level” settings that can be applied:
Application.Options.AllowDragAndDrop = True
This is an example of accessing the “Selection” of “Windows(1)” with in the Application:
Application.Windows(1).Selection.Characters.Count
However, the most common Word objects can be accessed directly, without typing the full hierarchy. So instead, you can (and should) just type:
Selection.Characters.Count
Documents
ActiveDocument
Often, you will have two or more documents opened in Word and you will need specify which specific Word Document to interact with. One way to specify which document is to use ActiveDocument. For example:
ActiveDocument.PrintOut
…would print the ActiveDocument. The ActiveDocument is the document in Word which “has focus”
To switch the ActiveDocument, use the Activate command:
Documents("Example.docx").Activate
ThisDocument
Instead of using ActiveDocument to reference the active document, you can use ThisDocument to reference the document where the macro is stored. ThisDocument will never change.
ThisDocument.PrintOut
Document Variables
However, for more complicated macros, it can be hard to keep track of the Active Document. It can also be frustrating to switch back and forth between documents.
Instead, you can use Document variables.
This macro will assign the ActiveDocument to a variable and then print the document using the variable:
Sub VarExample()
Dim oDoc As Document
Set oDoc = ActiveDocument
oDoc.PrintOut
End Sub
Document Methods
Open Document
To Open a Word Document:
Documents.Open "c:UsersSomeOneDesktopTest PM.docx"
We recommend always assigning a Document to a variable upon opening it:
Dim oDoc as Document
Set oDoc = Documents.Open("c:UsersSomeOneDesktopTest PM.docx")
Create New Document
To create a new Word Document:
Documents.Add
We can instruct Word to create a new doc based on some template:
Documents.Add Template:="C:Program FilesMicrosoft OfficeTemplatesMyTemplate.dotx"
As always, it is useful and huge problem saver to assign document to variable upon creating or opening:
Dim oDoc as Document
Set oDoc = Documents.Add (Template:="C:Program FilesMicrosoft OfficeTemplatesMyTemplate.dotx")
Save Document
To save a document:
ActiveDocument.Save
or SaveAs:
ActiveDocument.SaveAs FileName:= c:UsersSomeOneDesktoptest2.docx", FileFormat:=wdFormatDocument
Close Document
To close a Document and save changes:
ActiveDocument.Close wdSaveChanges
or without saving changes:
ActiveDocument.Close wdDoNotSaveChanges
Print Document
This will print the active Document:
ActiveDocument.PrintOut
Range, Selection, Paragraphs
Range and Selection are probably the most important objects in Word VBA, certainly the most used.
Range refers to some portion of document, usually, but not necessarily, text.
Selection refers to selected text (or other object like pictures) or, if nothing is selected, an insertion point.
Paragraphs represent paragraphs in document. Its less important than it sounds, because you can’t directly access paragraph text (you need to access particular paragraph range to make modifications).
AutoMacro | Ultimate VBA Add-in | Click for Free Trial!
Range
Range can be any part of document, including entire document:
Dim oRange As Range
Set oRange = ActiveDocument.Content
or it can be small as one character.
Another example, this range would refer to first word in document:
Dim oRange As Range
Set oRange = ActiveDocument.Range.Words(1)
Usually, you would want to get range which refers to specific part of document and then modify it.
In the following example we will make the first word of second paragraph bold:
Dim oRange As Range
Set oRange = ActiveDocument.Paragraphs(2).Range.Words(1)
oRange.Bold = True
Set Range Text
To set the text value of a Range:
Dim oRange As Range
Set oRange = ActiveDocument.Paragraphs(2).Range.Words(1)
oRange.Text = “Hello ”
(Tip: Note the space after “Hello”. Because word object includes space after word, with just “hello” we would get “Hellonext word”)
There are hundreds of things which you can do with ranges. Just a few examples (these assume you are already made object variable oRange referring to range of interest):
Change font
oRange.Font.Name = "Arial"
Display in message box number of characters in particular range
MsgBox oRange.Characters.Count
Insert some text before it
oRange.InsertBefore "this is inserted text "
Add a footnote to range
ActiveDocument.Footnotes.Add Range:=oRange, _
Text:="Read more at automateexcel.com."
Copy it to clipboard
oRange.Copy
Often you need to change to what is particular range referring. So you can start it’s start and end
oRange.Start = 5
oRange.End = 50
After above code, oRange would refer to text starting with fifth and ending with 50th character in document.
Selection
Selection is even more widely used than Range, because it is easier to work with Selections than Ranges, IF your macro ONLY interacts with the ActiveDocument.
First select the desired part of your document. For example select the second paragraph in active document:
ActiveDocument.Paragraphs(2).Range.Select
Then you can use the Selection Object to type some text:
Selection.TypeText "Some text"
We can type some paragraphs bellow “Some text”:
Selection.TypeText "Some text"
Selection.TypeParagraph
Often, it’s necessary to know if some text is selected or we have just a insertion point:
If Selection.Type <> wdSelectionIP Then
Selection.Font.Bold = True
Else
MsgBox "You need to select some text."
End If
When working with Selection object we want to place insertion point to particular place, and issue commands starting from this point.
Beginning of document:
Selection.HomeKey Unit:=wdStory, Extend:=wdMove
Beginning of current line:
Selection.HomeKey Unit:=wdLine, Extend:=wdMove
The Extend parameter wdMove moves the insertion point. Instead, you could use wdExtend which will select all text between the current insertion point.
Selection.HomeKey Unit:=wdLine, Extend:=wdExtend
Move Selection
The most useful method for changing position of insertion point is Move. To move Selection two characters forward:
Selection.Move Unit:=wdCharacter, Count:=2
to move it backwards, use negative number for Count parameter:
Selection.Move Unit:=wdCharacter, Count:=-2
Unit parameter can be wdCharacter, wdWord, wdLine, or more (use Word VBA help to see others).
To move words instead:
Selection.Move unit:=wdWord, Count:=2
Selection is easier to work with (compared to ranges) because it is like a robot using Word, mimicking human user. Where Insertion point is – some action would take place. But, this means that you must take care where insertion point is! This is not easy after many steps in code. Otherwise, Word would change text in not desired place.
In the case you need some property or method not available in Selection object you can always easily obtain range associated with selection:
Set oRange = Selection.Range
TIP: Using Selection is often easier than using ranges, but also it’s way slower (important when you deal with big documents)
Paragraphs
You can’t directly use Paragraphs object to change text:
ActiveDocument.Paragraphs(1).Text = "No, it wouldn't work"
Above wouldn’t work (actually it will throw an error). You need to first obtain range associated with particular paragraph:
ActiveDocument.Paragraphs(1).Range.Text = "It works now :)"
But you can directly change its style:
ActiveDocument.Paragraphs(1).Style = "Normal"
or change its paragraph level formatting:
ActiveDocument.Paragraphs(1).LeftIndent = 10
or maybe you want to keep this paragraph on the same line with next paragraph:
ActiveDocument.Paragraphs(1).KeepWithNext = True
Make paragraph centered:
ActiveDocument.Paragraphs(1).Alignment = wdAlignParagraphCenter
It is VERY useful to assign a particular paragraph to object variable. If we assign particular paragraph to variable we don’t have to worry if the first paragraph becomes the second because we inserted one paragraph before it:
dim oPara as Paragraph
Set oPara = Selection.Paragraphs(1) ‘here we assign first paragraph of current selection to variable
Here is an example where we insert a paragraph above the first paragraph, but we can still reference the old first paragraph because it was assigned to a variable:
Sub ParagraphExample()
Dim oPara As Paragraph
Set oPara = ActiveDocument.Paragraphs(1)
MsgBox oPara.Range.Text
oPara.Range.InsertParagraphBefore 'Insert Paragraph
MsgBox oPara.Range.Text
End Sub
Paragraph object is very frequently used in loops:
Sub LoopThroughParagraphs()
Dim oPara As Paragraph
For Each oPara In ActiveDocument.Paragraphs
'do something with it. We will just display
'paragraph text if its style is "Heading 4"
If oPara.Style = "Heading 4" Then
MsgBox oPara.Range.Text
End If
Next oPara
End Sub
Word VBA Tutorial Conclusion
This tutorial covered the basics of Word VBA. If you’re new to VBA, you should also review our general VBA Tutorial to learn more about Variables, Loops, MessageBoxes, Settings, Conditional Logic and much more.
AutoMacro | Ultimate VBA Add-in | Click for Free Trial!
Word Macro Examples
Word VBA FAQs
What is a Word Macro?
A Macro is a general term that refers to a set of programming instructions that automates tasks. Word Macros automate tasks in Word using the VBA programming language.
Does word have VBA?
Yes, Microsoft Word has the VBA Editor. It can be accessed with by pressing ALT + F11 or by navigating to Developer > Visual Basic.
How do I use VBA in Word?
1. Open the VBA Editor (ALT + F11 or Developer > Visual Basic)
2. Go to Insert > Module to create a Code Module
3. Type ‘Sub HelloWorld’ and press Enter
4. In between the lines ‘Sub HelloWorld’ and ‘End Sub’, type ‘MsgBox “Hello World!’
5. You’ve created a Macro!
6. Now press ‘F5’ to run the Macro
Sample Docx file for testing, Find below information for better understand.
You can download sample word Document for your testing and you can modify and update as per your uses otherwise tell us for more files as per your size and requirements.
Find below word document example that you can download, update and uses.
What is a DOCX file?
A DOCX file is a document file that is created by Microsoft Word and other programs. It’s widely used for business purposes and academic purposes like a resume, invitation, and billing.
Learn more about Document file.
Download sample docx file for testing
This docx file is used for testing and it’s special design for testing purposer that can be allowed for changes and reused in any place.
It’s contents images and text in documents with multiple pages. You can download docx file from here
Sample doc files for testing
It’s content multiple pages with sample images and sample text. it’s old Microsoft word file format nowadays it’s not used as large as Docx format. So if you want to download sample doc file click on the link below.
15 MB docx file download
For 15 MB Docx file download or large Docx file download for testing, you can use this file. It’s actually 32 MB file it’s not exactly 15 MB because for testing it’s required a large file that will be grater then 15 MB or 30 MB.
Find PDF Sample files for testing.
Время на прочтение
2 мин
Количество просмотров 70K
Исполняем обязанности по получению сведений о своих бенефициарных владельцах
Небольшая вводная
Начиная с 21 декабря 2016 года вступили изменения в ФЗ РФ «О противодействии легализации (отмыванию) доходов, полученных преступным путем, и финансированию терроризма», касательно обязанности юридического лица по раскрытию информации о своих бенефициарных владельцах. В связи с этим, многие компании направляют запросы по цепочке владения с целью выяснения своих бенефициарных владельцев. Кто-то формирует запросы на бумаге, кто-то рассылает электронные письма.
На наш взгляд, надлежащим доказательством исполнения обязанности «знай своего бенефициарного владельца» является наличие письма на бумаге с отметкой об отправке/вручении. Данные письма в идеале должны готовиться не реже одного раза в год. Если в ведении юриста находится всего несколько компаний, то составление писем не составляет особого труда. Но, если компаний больше 3-х десятков, составление писем превращается в уничтожающую позитив рутину. Дело усугубляется тем, что реквизиты писем постоянно меняются: подписанты увольняются, компании перерегистрируются, меняя адреса. Все это надо учитывать. Как здесь могут помочь навыки программирования на python?
Очень просто — хорошо бы иметь программу, которая сама будет подставлять в письма необходимые реквизиты. В том числе формировать сами письма, не заставляя создавать документ за документом вручную. Попробуем.
Структура письма в word. Модуль python docxtpl
Перед написанием кода программы посмотрим как должен выглядеть шаблон письма, в который мы будем помещать наши данные.
Текст письма от общества своему участнику/акционеру будет примерно следующим:
Напишем простую программу, которая заполнит для начала одно поле в нашем шаблоне, чтобы понять принцип работы.
Для начала в самом шаблоне письма Word вместо одного из полей, например, подписанта поставим переменную. Данная переменная должна быть на либо на англ. языке, либо на русском, но в одно слово.Также переменная должна быть обязательно заключена в двойные фигурные скобки. Выглядеть это будет примерно так:
Сама программа будет иметь следующий вид:
from docxtpl import DocxTemplate
doc = DocxTemplate("шаблон.docx")
context = { 'director' : "И.И.Иванов"}
doc.render(context)
doc.save("шаблон-final.docx")
Вначале мы импортируем модуль для работы с документами формата Word. Далее мы открываем шаблон, и в поле директор, которое бы обозначили ранее в самом шаблоне, вносим ФИО директора. В конце документ сохраняется под новым именем.
Таким образом, чтобы заполнить все поля в файле-шаблоне Word нам для начала необходимо определить все поля ввода в самом шаблоне скобками {} вместе с переменными и потом написать программу. Код будет примерно следующим:
from docxtpl import DocxTemplate
doc = DocxTemplate("шаблон.docx")
context = { 'emitent' : 'ООО Ромашка', 'address1' : 'г. Москва, ул. Долгоруковская, д. 0', 'участник': 'ООО Участник', 'адрес_участника': 'г. Москва, ул. Полевая, д. 0', 'director': 'И.И. Иванов'}
doc.render(context)
doc.save("шаблон-final.docx")
На выходе при исполнении программы мы получим готовый заполненный документ.
Скачать готовый шаблон Word можно здесь.