Power Automate Office Scripts Basics: Difference between revisions
												
				Jump to navigation
				Jump to search
				
Lsokolowski1 (talk | contribs)  | 
				Lsokolowski1 (talk | contribs)  | 
				||
| Line 41: | Line 41: | ||
In Excel online (Business version only)    | In Excel online (Business version only)    | ||
* an '''Automate''' tab in the ''ribbon'' bar  | * an '''Automate''' tab in the ''ribbon'' bar  | ||
* the Ribbon allows to record actions (just like ''vba'')  | * the Ribbon allows to '''record''' actions (just like ''vba'')  | ||
** ''Create a blank New Script''  | ** ''Create a blank New Script''  | ||
** ''Open existing Scripts''  | ** ''Open existing Scripts''  | ||
| Line 47: | Line 47: | ||
* The '''record''' function    | * The '''record''' function    | ||
** does not record every action  | ** does not record every action  | ||
** uses selections instead of references  | ** uses '''selections''' instead of ''references''  | ||
** does show good notes and is a good way to learn  | ** does show good notes and is a good way to learn  | ||
<syntaxhighlight lang="ts">  | <syntaxhighlight lang="ts">  | ||
Revision as of 21:18, 10 December 2024
<slideshow style="nobleprog" headingmark="⌘" incmark="…" scaled="true" font="Trebuchet MS" >
- title
 - Power Automate Office Scripts Basics
 - author
 - Lukasz Sokolowski
 
</slideshow>
Power Automate Office Scripts Basics
Power Automate Office Scripts Basics Training Materials
Copyright Notice
Copyright © 2004-2025 by NobleProg Limited All rights reserved.
This publication is protected by copyright, and permission must be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system, or transmission in any form or by any means, electronic, mechanical, photocopying, recording, or likewise.
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
- Online version of VBA
 - Built to run in Excel online
- similar to GoogleDocs App Scripts, but based on TypeScript instead of Javascript
 - TS is a subset of JS, so we can use JS as well
 
 - More here
 
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'