Use WPS Macro Editor with 4 how-to topics on macOS; all 4 are available without membership and 0 are membership-related, so you can jump from the index to the steps you need.
How-to Index
| No. | Topic | Membership Requirement |
|---|---|---|
| 1 | 1. Open WPS Macro Editor | Free |
| 2 | 2. Open Macro Editor with a keyboard shortcut | Free |
| 3 | 3. View and edit macro source code | Free |
| 4 | 4. Save a macro-enabled file as .xlsm | Free |
How-to Guide
1. Open WPS Macro Editor
Entry: Developer tab → WPS Macro Editor
- Open a WPS Spreadsheet file on your Mac.
- Click the Developer tab at the top.
- Click WPS Macro Editor.
- Wait for the Macro Editor window to open.
Success Criteria
- Interface result: The Macro Editor window opens.
- What you can do next: You can view or edit the current macro code.
Tips While Using
- If you do not see the Developer-related entry, first confirm that you are in WPS Spreadsheet.
- On macOS, this feature supports WPS macros in JavaScript format.
2. Open Macro Editor with a keyboard shortcut
Entry: Keyboard shortcut
- Open the WPS Spreadsheet file you want to work with.
- Press
option + Fn + F11. - Wait for Macro Editor to open.
Success Criteria
- Interface result: The Macro Editor window opens directly or comes to the front.
- What you can do next: You can continue reviewing or editing macro code.
Tips While Using
- If the shortcut does not work, check your keyboard function key settings and try again.
- You can also open the editor from the Developer tab.
3. View and edit macro source code
Entry: Open WPS Macro Editor
- Open WPS Macro Editor by using one of the methods above.
- Locate the macro code you want to review in the editor.
- Read or modify the JavaScript macro code.
- Save your changes by using the save option available in the editor.
Success Criteria
- Interface result: The code is visible and editable.
- What you can do next: You can continue debugging, saving, or return to the workbook.
Tips While Using
- Before changing code, confirm what the original logic is used for so you do not affect an existing automation flow.
- On macOS, this feature supports WPS macros in JavaScript format rather than VBA editing.
4. Save a macro-enabled file as .xlsm
Entry: Save or Save As
- After editing the macro code, click Save or Save As.
- In the file format options, choose a macro-enabled workbook format.
- Save the file as .xlsm.
- Reopen the file and confirm that the macro content is still available.
Success Criteria
- Interface result: The file is saved successfully in .xlsm format.
- What you can do next: You can reopen the file and still access the macro content.
Tips While Using
- A standard
.xlsxfile does not keep macro code.- If you see a format compatibility warning, select
.xlsmagain before saving.