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 Error : ...
Power Automate
Unanswered

Office Script Error : primitive range

(0) ShareShare
ReportReport
Posted on by

My requirement:

'Workbook1': 'SDG', sheet 1, table: 'WHODDSDG'

'Workbook2': Dynamically created, get stored in SharePoint library. I can run the script using Power automate flow, when the file is created. 'Workbook2': name- dynamic, sheet 1 which has table Power App, and sheet 3 which has table 'WHODD'.

When this new file ('Workbook2' is created, data is entered into table 'Power App').

 

Note: Table 'Power App' in sheet 1 of 'Workbook2' only has 'one column' with the header 'All Hierarchy'.

 

Now I want to run the script(s), whereby column 'A' in table Power App in sheet 1 of 'Workbook2' matches the data in column 'N' ('Final Hierarchy') of table "WHODDSDG" in sheet 1 of 'Workbook1' (that is SDG). Once the data is matched, I want the matched data from all the columns of table 'WHODDSDG' in sheet 1 of 'Workbook1' (SDG) to be pasted onto table 'WHODD' of sheet 3 of 'Workbook2'.

 

Note: table 'WHODD' has headers exactly same as headers in table 'WHODDSDG'. Identical. 

 

@DamoBird365  Can you please help. I have many videos and trying to replicate but not getting it right.part1.pngpart2.png

 
I was thinking of leveraging power automate flow to pass string from one to another. 
Reason to run the script: 'WHODDSDG' has over 5 lacs rows so looping each in power automate might take years 
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
Haque Profile Picture

Haque 283

#2
David_MA Profile Picture

David_MA 256 Super User 2026 Season 1

#3
Expiscornovus Profile Picture

Expiscornovus 225 Most Valuable Professional

Last 30 days Overall leaderboard