Switch to JS Environment in WPS on Windows: Introduction

Last updated:July 16, 2026

Switch to JS Environment in WPS on Windows lets you switch between VBA and JavaScript macro environments; this guide covers 2 core tasks, with 2 available without membership and 0 membership-related items.

At a Glance

MetricValueNotes
Core tasks2Matches the How-to Index row count
Available without membership2Matches the Free rows in the index
Membership-related items0Matches the membership-related rows in the index

About This Feature

Overview

Switch to JS Environment is a developer tool in WPS Presentation for Windows that lets you move between the VBA macro environment and the JavaScript macro environment. It also lets you set JavaScript as the default development environment after restart.

Core capabilities include:

  • Switch between JS and VB environments from the Developer tab.
  • Set JavaScript as the default macro development environment.

This feature is useful for macro setup, JavaScript-based scripting, and keeping a consistent development workflow across teams.

System Requirements

ItemRequirement
Operating systemA Windows device
App versionThe latest version of WPS Office is recommended
NetworkNo mandatory network connection for the switching feature itself
OtherA VBA plug-in is required for VBA macro use on Windows; VBA macros are not supported on Mac, Linux, or mobile versions

Download & Installation

ItemDetails
Official downloadWPS Office Free Download
Verification after installationOpen WPS Presentation, go to the Developer tab, and confirm that the Switch to JS Environment entry is available

Source: WPS download page

Compare with Alternatives

DimensionWPSMicrosoftGoogleNotionAdobe
Capability SummaryWPS Presentation can switch the macro environment from VBA to JavaScript and also lets you set JavaScript as the default development environment.Microsoft Word provides the Word JavaScript API and Office JavaScript API for cross-platform add-ins, but it does not present this as a one-click VBA/JS environment switch inside a local macro editor.Google Apps Script supports JavaScript, HTML, and CSS for Workspace automation and extensions, but it does not provide a VBA-to-JS environment switch for presentation macros.Notion Developer Platform supports custom code through the CLI and Workers for workspace automation and integrations, rather than document macro environment switching.Adobe Acrobat provides a JavaScript API for PDF scripting and automation, but it does not offer a paired VBA/JS environment switch for presentation editing.
WPS AdvantagesAdvantage: WPS keeps environment switching and default JS setup in a direct in-app path, which is practical for users already working with WPS macros.Compared with WPS: Microsoft focuses on add-in development and API-based extension workflows.Compared with WPS: Google focuses on cloud automation and Workspace scripting instead of desktop presentation macro switching.Compared with WPS: Notion is oriented toward workspace automation and connected systems rather than presentation macro environments.Compared with WPS: Adobe centers on PDF scripting and form workflows, so the usage path differs from presentation macro development.
Official SourceWord add-ins overviewApps ScriptWhat is the Notion Developer PlatformAcrobat JavaScript API Reference

Overall Conclusion
If your main goal is to manage macro environments directly inside WPS Presentation, WPS offers a more direct switching path. The other products support JavaScript-based extension or automation, but they are aimed more at add-ins, cloud automation, or PDF scripting workflows.

Use Cases

No.ScenarioSuitable forMain issueHow this feature helps
1Moving from VBA to JS macrosMacro usersNeed to start writing scripts in JavaScriptUse Switch to JS Environment to enter the JS macro workflow quickly
2Standardizing team setupTeams and coordinatorsDifferent users start in different environmentsTurn on Default JS Development Environment
3Returning to legacy macro workUsers maintaining older macrosNeed to review or run VB-based macrosSwitch back to the VB environment when needed
4Preparing for cross-platform scriptingUsers planning broader script compatibilityVBA is limited to WindowsUse the JavaScript macro environment for future-ready scripting
5Initial setup on a new deviceNew WPS usersNeed to finish development setup after installationInstall WPS and set JS as the default environment

Membership & Benefits

Free vs WPS Premium

CapabilityFree usersWPS Premium
Switch to JS Environment
Set default JS development environment
Basic PDF features
More advanced PDF and extended benefitsLimited or unavailableBroader access
Cloud storage1 GB20 GB shown on the pricing page

Source: WPS Office pricing page

Recommendations

Usage scenarioRecommended planWhy
You only need macro environment switching and basic setupFreeThis feature itself is available without membership
You also need more PDF tools, cloud storage, or broader benefitsWPS PremiumBetter suited to users who want more office features beyond macro environment switching

How to Subscribe

Source: WPS Office pricing page