Feature Summary

The Record New Macro feature allows you to record your actions as JS macro code and VBA macro code, automating repetitive tasks and enabling macro creation without any programming knowledge.

Feature Description

Feature Dimension Description
Membership Restriction No membership restriction; available to all users
Version Restriction - VBA Macro Windows version requires the VBA plugin to be installed; not supported on Mac or mobile versions
Version Restriction - JS Macro Supported on Windows and Mac versions; not supported on mobile versions

Steps

Record a Macro

Feature Entry
"Tools" tab → "Developer" tab → "Record New Macro" button

  1. Click the Developer button in the Tools tab
  2. Enter the Developer tab and click the "Record New Macro" button
  3. Enter a macro name in the pop-up dialog box
  4. Select the save location: Current Document or All Documents
  5. Click OK to start recording
  6. Perform the actions you want to record
  7. Click Stop Recording to finish

截图
截图

Macro Naming Rules:

  1. The macro name must begin with a letter
  1. It can only contain letters, numbers, and underscores
  1. It cannot contain spaces or special characters

FAQ

Q1: The recorded macro does not run correctly

  • Solution: Check whether the actions during recording were complete. You may need to manually edit the VBA code to make adjustments.

Q2: How to edit a recorded macro

  • Solution: Click "Developer" → "Run Macro", select the macro, and then click "Edit" to open the VBA Macro Editor or WPS Macro Editor.

Notes

  • Avoid unnecessary actions while recording a macro
  • The macro name must comply with the naming rules