Skip to content
UdemyMicrosoft WordPaid courseIntermediate levelCertificate

Advanced Microsoft Word VBA Macro Programming (Udemy.com)

Excel VBA macro programming isn't all there is to VBA. Take a deep dive into Microsoft Word automation.

Created by: Grant Gamble

Last updated January 2025

icon
What you will learn

  • You will gain a deeper understanding of the how to use VBA to control the key elements of both the Word and VBA object models.
  • You will become familiar with the programmatic representation of Word's key textual components: paragraphs, sentences, words, characters...
  • You will learn how to programmatically create and modify long and complex documents containing multiple sections with different headers and footers.
  • You will learn how to target and control other Office programs (such as Excel, Outlook and PowerPoint) from within your Word macros.
  • You will learn how to build form-based solutions which leverage Word's powerful content controls feature.

How it compares

Against the other 35 rated Udemy courses in Microsoft Word on CourseDuck:

  • Rating4.5 out of 5higher than 45% of them
  • Reviews339#24 of 36 by number of reviews
  • Length13.2 hourslonger than 91% of them
  • Last updatedJanuary 2025more recently than 65% of them

icon
Course Description

This advanced Word VBA macro programming course is designed for users who are already comfortable with the basics of Word VBA macros, and who have progressed beyond relying on the Macro Recorder.

If you are still new to Word VBA, have a look at the Udemy course "Microsoft Word VBA Macro Programming – Introduction".   This advanced Word VBA course carries on from where the above Introductory course finishes.   

The main purpose of this course is to take a deep dive into programming the Word VBA object model; but in a practical, hands-on kind of way.

Here’s a summary of what you will learn:

  • You will learn how to program the Application object, which represents Word itself; how to check the user's location and screen resolution; and how to check which fonts are used in a particular document.

  • Moving onto files and documents, you will learn how to process all files in a given Folder; how to archive files older than a certain date; and how to test whether a given Document is currently open.

  • Next, when we turn our attention to the Range and Selection objects, you will learn the similarities and differences between these two objects; and when to use one in preference to the other. You'll learn the important Word programming skills of verifying the type of object which is currently selected and checking the page location of the selection.

  • In the chapter on Word text objects, you will learn the VBA syntax for processing paragraphs, sentences, words, characters and ranges. You will gain confidence in how to have your macros perform operations like inserting text and copying text without wiping the user's clipboard.
    This is also the section in which you will learn how to program the Range.Find object to find and replace both text and formatting attributes; how to change the Case of Text, how to create bulleted and numbered lists; how to use the Word VBA objects used which control the formatting of text; how to create style; and how to create tables of contents.

  • Once we’ve covered the nuts and bolts of working with text, we'll examine the code which you need when working with longer, more complex documents. In this section, you will learn how to create sections, headers and footers; how to work with odd and even headers and footers; how to use the LinkToPrevious Property; inserting Page Numbers; insert an image into a Header; and how to program the PageSetup Object.

  • Then we'll turn our attention to creating and manipulating tables with VBA code; performing such operations as merging cells, formatting tables, converting text to a table, we'll create a macro which will transpose the rows and columns of the currently selected table.

  • The course also covers content controls and interactive forms. You will learn how to combine this powerful feature with VBA programming; how to create content controls programmatically; and how to write code which responds to content control events.

  • Towards the end of the course, we'll discuss the different ways of distributing Your VBA macro solutions.

  • And, to end the course, we'll create a series of solutions which demonstrate how to write Word VBA code which controls not only the Word object model, but the object models of other Microsoft Office programs.
    We'll create three inter-application solutions: the first combining Word and Excel workflows; the second Word and Outlook; and the third, Word and PowerPoint.

So, by the end of this course, you will have a good grasp of all of the intermediate and advanced Word VBA programming techniques that you'll need to master, in order to feel comfortable when undertaking Word VBA projects; either in the workplace, or as a consultant.  

icon
Udemy Discount

The discount is applied through our link. Open the course from here and Udemy's current promotional price is applied at checkout on most courses, no code to type.

Some courses are excluded from Udemy's promotions. If the price does not drop, clear your browser cookies and use the button again.

icon
Instructor Details

Grant Gamble

  Grant Gamble is an experienced IT trainer, developer, consultant and author able to deliver a wide range of training courses. He has a vast experience of delivering public and on-site IT training content at different skill levels, to groups of varying sizes. 

  His UK company G Com Solutions Limited provide IT training courses and consultancy to a wide range of UK and international clients. His speciality is running week-long, intensive training workshops on topics like Microsoft Power BI, VBA, web development and Adobe Creative Suite automation.

icon
More courses by Grant Gamble

$10.99

$11.99

$11.99

$11.99

$44.99

icon
More Microsoft Word courses

$79.99

$49.99

$18.99

$13.99

$19.99

$64.99

icon
Reviews

4.5

339 ratings on Udemy

Select a bar to show only those reviews.Select the bar again to show every rating.

By Anny . on 6/11/2024

After completing the beginner course, this was the obvious next step for me. The course has very high quality, good sound, valuable content, and good explanations to even the more complicated subjects. Would highly recommend the beginner course before taking this one though. The fact that VBA and Word itself have barely changed over the years leads this to be a highly valuable course even in 2024.Thank you!

By Lara Van Dousselaere on 7/21/2023

The course is interesting but it is not presented in a very interesting way. It is merely a walk through with no opportunity to practice what you have learned. There are no exercises or no quiz question to check if you really understood each module. Very disappointing.

By Norbert Holzmayr on 7/1/2021

First try out content that is interesting for me as a user. I like the content. How exactly I use this knowledge in a meaningful way is still unclear to me personally. It's because of my amateur status. But my knowledge is expanding in many directions and versions !!

By Nathaniel Scholnicoff on 3/10/2021

The first training file is not usable because it comes preloaded with the macro, which is a security macro, which cannot be run on the machine unless you are the course instructor. Generally the files in the folders are already manipulated by the macros, so I need to edit the files before I can run my macros on them. Course content needs to be updated to reflect Windows 365

By Wolfgang Ehrlich on 10/10/2019

The course Advanced-Word-VBA-Macro-Programming is really very good. I like the explicit structuring of the macros to be developed, i.e. firstly, the unique name, secondly the naming of the individual program steps in the comments, and then the testing of the macros. This process has given me clear instructions for my own programming and saves a lot of time. I hope that this course will be converted to the newer Office 2016 version.

By Rory Charlton on 7/3/2019

If you need to learn Word VBA and you know the basics of VBA this course is the one to get. Very to the point and well explain. Simply can't be beat if you want your code to be precise, accurate and with minimal code because you will be using the correct methods and functions in Word VBA to achieve your desired results.

By Scott Lee on 10/22/2018

I feel fortunate to have found this course. Knowing the power of macros, I have always wondered if certain functions in Word can be used programmably and if so, how. This course answers those questions more than adequately. I can't wait to start my own project and build my own text factory.

By Todd Warner on 4/18/2018

I really love it. The instructor is very knowledgeable and the examples do a great job in helping the student understand the concepts. And the outline allows you to go back to specific topics to get a quick refresher when you are coding similar items in your daily practice. I have used VBA for Excel for many years, but have only had one course and that was decades ago. I am learning a great deal that would have made life so much easier had I just had access to this course.

By John Janetatos on 10/25/2017

Advanced MS Word VBA Macro Programming is a great, in-depth course on VBA. The bulk of VBA reference material is geared toward Excel (tbf, a lot is still applicable to Word), this is a great course on Word-specific application of VBA.

By Kenneth Neff on 8/10/2017

I'm finding the course very useful. Clear instructions with easy to follow examples. I anticipate that I'll need to keep coming back to different sections of this course for several months, to remind myself how to code various parts of the Word object model.

Showing all 10 reviews on CourseDuck

Read all 339 reviews on Udemy

icon
Quality Score

No CourseDuck member has rated this course yet. Taken it? Give each part a thumbs up or down.

Content Quality
/
Video Quality
/
Qualified Instructor
/
Course Pace
/
Course Depth & Coverage
/

Overall Score : 90 / 100