WPS Macro Editor on macOS FAQ

Last updated:July 17, 2026

This FAQ covers 3 common questions about editor type, file saving, and script usage when you use WPS Macro Editor on macOS.

FAQ

Can I switch to the VBA editor in WPS for Mac?

  1. When you open the Macro Editor on macOS, the available editor is the JS editor.
  2. If you already have VBA macro code, rewrite the script logic in JavaScript.
  3. Continue editing and testing the script in the current JS editor.

Why can’t my macro code be saved?

  1. Check whether the current file is saved in a macro-enabled format.
  2. If it is a WPS Docs file, save it as .docm.
  3. Avoid continuing with formats such as .docx, which do not save macro code.

What should I pay attention to when using macro scripts?

  1. First confirm that the file format supports macros.
  2. Only run macro scripts that you wrote yourself or that come from a trusted source.
  3. Before changing a formal document, test the script on a copy first.

Glossary

TermDefinition
Macro EditorA code editing interface used to create, edit, and manage macro scripts.
JavaScript macroAn automation script written in JavaScript to perform repetitive operations.
Macro-enabled fileA file format that can store macro code, such as .docm, .wpm, .xlsm, or .et.