Power Automate Office Scripts Basics: Difference between revisions

From Training Material
Jump to navigation Jump to search
Line 39: Line 39:


== Accessing Scripts ==
== Accessing Scripts ==
In Excel online (Business version only)
* an '''Automate''' tab in the ''ribbon'' bar
* the Ribbon allows to record actions (just like ''vba'')
** ''Create a blank New Script''
** ''Open existing Scripts''
** and ''Automate a Task'' with a ''Power Automate'' template
* The '''record''' function
** does not record every action
** uses selections instead of references
** does show good notes and is a good way to learn
<syntaxhighlight lang="ts">
<syntaxhighlight lang="ts">
// comment
// comment

Revision as of 21:15, 10 December 2024


title
Power Automate Office Scripts Basics
author
Lukasz Sokolowski


Power Automate Office Scripts Basics

Power Automate Office Scripts Basics Training Materials

Introduction

Single module context

  • Accessing Scripts
  • Triggering Scripts in Power Automate
  • IntelliSense
  • Variables, Types and Interfaces
  • Get & Set
  • Basic Excel Actions
  • If
  • Loop
  • Send and Return Data
  • Additional functions

Intro Con't

Office Scripts

Accessing Scripts

In Excel online (Business version only)

  • an Automate tab in the ribbon bar
  • the Ribbon allows to record actions (just like vba)
    • Create a blank New Script
    • Open existing Scripts
    • and Automate a Task with a Power Automate template
  • The record function
    • does not record every action
    • uses selections instead of references
    • does show good notes and is a good way to learn
// comment
let a: string = 'code'

Triggering Scripts in Power Automate

IntelliSense

Variables, Types and Interfaces

Get & Set

Basic Excel Actions

If

Loop

Send and Return Data

Additional functions