|
所在平台: Udemy |
课程主页: https://www.udemy.com/course/advanced-word-vba-online-course/
课程评论:没有评论
**Coursera 课程:Microsoft Word 高级 VBA 宏编程 课程总结** 本课程专为已经掌握 Word VBA 基础知识并超越宏录制器的用户设计。它深入探讨了 Word VBA 对象模型,并以实践和动手的方式进行教学。 **主要学习内容:** * **Word 应用对象:** 学习编程 `Application` 对象,了解如何检查用户位置、屏幕分辨率以及文档中使用的字体。 * **文件和文档处理:** 学习处理指定文件夹中的所有文件,归档超过特定日期的文件,以及测试文档是否已打开。 * **Range 和 Selection 对象:** 理解 `Range` 和 `Selection` 对象之间的相似之处和差异,学习何时优先使用其中一个,并掌握验证当前选定对象的类型以及检查选定内容在页面上的位置。 * **Word 文本对象:** 学习处理段落、句子、单词、字符和范围的 VBA 语法,自信地执行插入文本和复制文本等操作,而不影响用户剪贴板。 * **查找与替换:** 学习使用 `Range.Find` 对象查找和替换文本及格式属性,更改文本大小写,创建项目符号和编号列表,以及控制文本格式、创建样式和目录。 * **复杂文档处理:** 学习创建节、页眉和页脚(包括奇偶页眉页脚),使用 `LinkToPrevious` 属性,插入页码和图片到页眉,以及编程 `PageSetup` 对象。 * **表格操作:** 学习创建和操作表格,包括合并单元格、格式化表格、将文本转换为表格,以及转置表格的行和列。 * **内容控件与交互式表单:** 学习将内容控件与 VBA 编程结合,以编程方式创建内容控件,并编写响应内容控件事件的代码。 * **宏分发:** 讨论分发 VBA 宏解决方案的不同方法。 * **跨应用程序集成:** 学习编写控制 Word 对象模型以及其他 Microsoft Office 程序(Excel、Outlook、PowerPoint)的对象模型的 VBA 代码,创建 Word 与 Excel、Word 与 Outlook、Word 与 PowerPoint 集成的工作流。 完成本课程后,您将熟练掌握所有中级和高级 Word VBA 编程技术,无论是在工作场所还是作为顾问,都能自信地进行 Word VBA 项目。
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.