Office Script is used in Power Platform clouds to handle files – typically xlsx files.

It only operates in cloud, so as it is not dependent on a specific PC (which is the biggest difference from VBA).

The scripts are independent on files.

It is crucial that the scripts can be connected with Power Automate – you can run them from flow, get values from flow or send values to flow.

Office Script tutorials: