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

Notifications

Announcements

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 406 Moderator

#3
abm abm Profile Picture

abm abm 245 Most Valuable Professional

Last 30 days Overall leaderboard