web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Office script is not t...
Power Automate
Unanswered

Office script is not triggerd

(0) ShareShare
ReportReport
Posted on by

Hello,

I have created a simple office script which copy value from Cell A1 to D1: 

 

function main(workbook: ExcelScript.Workbook)

{ let list1Sheet = workbook.getWorksheet("List1");

// Get the value from List1 cell A1

let valueToCopy = list1Sheet.getRange("A1").getValue();

// Set the value in List1 cell D1

list1Sheet.getRange("D1").setValue(valueToCopy); }

 

This script works fine in Excel but when I used it in a flow nothing haapend. My flow:

MT22_0-1679899073913.png

 

Does anybody know what I am doing wrong?

 

Thanks

 

Categories:
I have the same question (0)

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 124 Super User 2026 Season 1

#2
Ellis Karim Profile Picture

Ellis Karim 52 Super User 2026 Season 1

#3
Haque Profile Picture

Haque 50

Last 30 days Overall leaderboard