[VBA] Understanding the “Normal” Project in the Word VBA Editor

Let’s take a closer look at the “Normal” project that you see in the Word VBA editor. This project plays a very important role in how you use Word.

目次

What is the “Normal.dotm” Template in Word?

Role as a Global Template

“Normal.dotm” is Word’s global template. This is an important file that stores the default settings, styles, and macros used by Word.

Automatic Loading Features

When you open Word, this template loads automatically. As a result, the settings and macros saved in this template become available in all Word documents.

Possibility of User Customization

You can add your own settings, styles, and macros to “Normal.dotm”. Since these changes apply to Word as a whole, it makes it easy to customize your environment for every document.

Points to Note When Changing

When you modify “Normal.dotm”, those changes can affect all Word documents. Therefore, you need to be careful when making changes.

VBA Macros and the “Normal” Project

Document-Specific Macro Settings

If you want to apply a macro only to a specific document, you should add the macro to the project for that specific document.

Applying Macros to All of Word

However, if you want to use a macro in all Word documents, you can add it to the “Normal” project. Please remember that changes here affect Word globally, so careful handling is required.

よかったらシェアしてね!
  • URLをコピーしました!
  • URLをコピーしました!

この記事を書いた人

私が勉強したこと、実践したこと、してることを書いているブログです。
主に資産運用について書いていたのですが、
最近はプログラミングに興味があるので、今はそればっかりです。

目次