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"

  1. Click the "Tools" tab at the top, locate and click the "Development Tools" button to bring up the "Development Tools" tab at the top
  2. Click the "Developer Tools" tab on the ribbon
  3. Click the "View Code" button
  4. The system will open the WPS Macro Editor window

image

image

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

  1. It is recommended to back up the document before writing macro code.
  2. Confirm the security of macro code before running code written by others.
  3. To view the code for a control, select the control and then click "View Code".