Sub HelloWPS() MsgBox "VBA works in WPS!" End Sub To run: .
Getting Started with VBA in WPS Office: A Practical Guide vba wps
If a macro runs slower in WPS, add this at the beginning: Sub HelloWPS() MsgBox "VBA works in WPS
| Feature | MS Excel VBA | WPS VBA | |--------|-------------|---------| | Application.ScreenUpdating | Works | Works | | Application.Wait | Works | Works | | UserForm | Full support | Limited (some controls missing) | | ChartObject | Works | May need testing | | FileDialog | Works | Works | vba wps