# Edit module dialog

Macros and custom defined functions can be written in VBScript using the Edit Module dialog. The module is saved with the application.

The Edit Module dialog is opened from the Tools menu.

Tip noteIt is possible to protect the Edit Module dialog with a password. To set a password, click the Module Password button on the Security page of the Document Properties dialog.

![Edit module dialog window](https://help.qlik.com/en-US/qlikview-developer/September2026/Subsystems/Automation/Content/Resources/Images/automation-edit-module-dialog.png)

## Learn more

* [Edit Module dialog reference](https://help.qlik.com/en-US/qlikview/September2026/Subsystems/Client/Content/QV_QlikView/Edit_Module2.htm)