Feature Summary
The View Code feature opens the WPS Macro Editor, allowing users to write and edit macro code to achieve office automation and customize complex functions.
Feature Description
| Feature Dimension | Description |
|---|---|
| Membership Restriction | No membership restriction |
| Version Restriction | No version restriction |
Operation Steps
Opening the VBA Editor
Feature Entry: "Tools" tab → "Development Tools" button → "Development Tools" tab → "View Code"
- Click the "Tools" tab at the top, locate and click the "Development Tools" button to bring up the "Development Tools" tab at the top
- Click the "Developer Tools" tab on the ribbon
- Click the "View Code" button
- The system will open the WPS Macro Editor window


FAQ
Q1: The View Code button is grayed out and unavailable?
- Solution: Check whether the macro function has been enabled. Set macro security and trust the macro in "Tools" → "Macro Security".
Q2: The WPS Editor cannot be opened?
- Solution: Verify the WPS version. If the version is too old, it is recommended to upgrade to the latest version.
Notes
- It is recommended to back up the document before writing macro code.
- Confirm the security of macro code before running code written by others.
- To view the code for a control, select the control and then click "View Code".