What are you running (Windows, Mac, or Linux)?
Kingsoft offers a separate VBA support package, but it is not free . Users who purchase a commercial license of WPS Office Professional can download and install the VBA add-on. This installs a licensed version of the VBA runtime that works within WPS. Once installed, the error disappears, and macros run as intended. This is the simplest fix for organizations already invested in WPS.
Below is a comprehensive guide to understanding this issue and the step-by-step methods to fix it. Why Does This Error Occur?
If the library is installed but macros still won't run, you may need to manually enable the interface and security permissions. What are you running (Windows, Mac, or Linux)
: Close all WPS applications (Writer, Spreadsheets, Presentation) before running the installer.
WPS Spreadsheets supports (in some versions) and JavaScript as alternative scripting languages. If you cannot get VBA working:
: Built specifically for enterprise environments, this version comes with fully licensed VBA support out of the box. This installs a licensed version of the VBA
What I liked
Microsoft does not license VBA for use in third-party software. WPS may ignore this or crash.
Unlike Microsoft Office, which typically includes the Visual Basic for Applications (VBA) environment by default, WPS Office often requires a separate installation or a specific version to enable this functionality. Why This Error Occurs Below is a comprehensive guide to understanding this
When you see the error, WPS is telling you: “I see you’re trying to run a macro, but I lack the engine needed to interpret that VBA code.”
Go to Control Panel > Programs > Uninstall a program, and remove WPS Office.