Ưu đãi trong tuần: Nhập mã UD50 giảm 50k cho đơn từ 300k!
Trang chủ
Menu

Advanced Microsoft Word VBA Macro Programming

Lập trình VBA Macro Microsoft Word Nâng cao

Lập trình VBA Macro Microsoft Word Nâng cao

Lập trình VBA macro trong Excel không phải là tất cả. Hãy cùng khám phá sâu về tự động hóa Microsoft Word.

4.5
(329 đánh giá)
3,265 học viên
Giảng viên
Grant Gamble
Phụ đề Việt chất lượng cao Phụ đề tiếng Anh Bán chạy Đánh giá cao
50.000đ 469.000đ -89%
✓ Xem giỏ hàng và thanh toán
Bao gồm phụ đề tiếng Việt, tiếng Anh
13.0 giờ video
50 bài giảng
Truy cập vĩnh viễn
Học trên mọi thiết bị
Cập nhật: 31/05/2026

Bạn sẽ học được gì

Bạn sẽ hiểu sâu hơn về cách sử dụng VBA để điều khiển các thành phần chính trong cả mô hình đối tượng của Word và VBA.
Bạn sẽ làm quen với biểu diễn lập trình của các thành phần văn bản chính trong Word: đoạn văn, câu, từ, ký tự...
Bạn sẽ học cách tạo và sửa đổi các tài liệu dài và phức tạp chứa nhiều phần (section) với đầu trang và chân trang khác nhau bằng lập trình.
Bạn sẽ học cách nhắm mục tiêu và điều khiển các chương trình Office khác (như Excel, Outlook và PowerPoint) từ bên trong macro Word của bạn.
Bạn sẽ học cách xây dựng các giải pháp dựa trên biểu mẫu (form) tận dụng tính năng mạnh mẽ của Word: Điều khiển Nội dung (Content Controls).

Yêu cầu

Khóa học này giả định rằng người dùng đã quen thuộc với kiến thức cơ bản về lập trình VBA trong Word.

Đối tượng phù hợp

Khóa học này được thiết kế cho những người muốn mở rộng kiến thức hiện có về lập trình VBA trong Word.

Nội dung khóa học

10 phần • 50 bài giảng
1 Chào mừng đến với Lập trình Word VBA Nâng cao
2 Tải xuống Tệp Khóa học
1 9.1: Application.UserName
2 9.2: Application.System
3 9.3: Application.OnTime
4 9.4: Application.FontNames
1 10.1: Xử lý Tất cả Tệp trong một Thư mục
2 10.2: Lưu trữ Tệp Cũ
3 10.3: Bộ sưu tập Documents
4 10.4: Kiểm tra Xem một Tài liệu có Đang Mở không
5 10.5: Tạo, Mở và Đóng Tài liệu
1 11.1: So sánh Đối tượng Range và Selection
2 11.2: Xác minh Loại Selection
3 11.3: Xác minh Story của Selection
4 11.4: Xác minh Thông tin Selection hoặc Range
1 12.1: Làm việc với Đoạn văn
2 12.2: Làm việc với Từ và Ký tự
3 12.3: Sao chép Văn bản
4 12.4: Chèn Văn bản
5 12.5: Sử dụng Đối tượng Find
6 12.6: Thay đổi Chữ hoa/Chữ thường của Văn bản
7 12.7: Làm việc với Danh sách
8 12. 8: Định dạng văn bản
9 12.9: Làm việc với Kiểu (Styles)
10 12.10: Tạo Mục lục
1 13.1: Tạo Sections
2 13.2: Đối tượng PageSetup
3 13.3: Tạo Đầu trang và Chân trang
4 13.4: Thuộc tính LinkToPrevious
5 13.5: Đầu trang và Chân trang Trang Lẻ và Trang Chẵn
6 13.6: Chèn Số trang
7 13.7: Chèn Hình ảnh vào Đầu trang
1 14.1: Tạo Bảng
2 14.2: Gộp ô
3 14.3: Định dạng Bảng
4 14.4: Chuyển đổi Văn bản thành Bảng
5 14.5: Chuyển vị Bảng
6 14.6: Sắp xếp Dữ liệu Bảng
1 15.1: Tùy chỉnh Văn bản Giữ chỗ
2 15.2: Tạo Điều khiển Nội dung bằng Lập trình
3 15.3: Sự kiện Điều khiển
4 15.4: Danh sách Thả xuống và Hộp Kết hợp
5 15.5: Sử dụng Điều khiển Hình ảnh
1 16.1: Phân phối mã VBA thô
2 16.2: Phân phối một Mô-đun VBA
3 16.3: Phân phối một Word Add-in
1 17.1: Tham chiếu đến Ứng dụng Office Khác
2 17.2: Điều khiển Excel từ một Macro Word
3 17.3: Điều khiển Outlook từ một Macro Word
4 17.4: Điều khiển PowerPoint từ một Macro Word

Giới thiệu khóa học

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.  

Khóa học liên quan

Khám phá thêm các khoá học cùng chủ đề

Hiển thị tất cả khoá học Microsoft Office
Hiển thị tất cả khoá học Office Productivity
Hiển thị tất cả khoá học Vba
Hiển thị tất cả khoá học Word
Zalo
Tôi có thể tư vấn khoá học cho bạn 😊