cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Krishna_R
Responsive Resident
Responsive Resident

deleting worksheet from attachment

Hi Community,

 

I'm having an email attachment which is an excel with 3 sheets as shown below

Krishna_R_0-1627383330266.png

 

is it possible to delete 1st sheet using power automate ?

3 REPLIES 3
eric-cheng
Solution Sage
Solution Sage

Hi @Krishna_R ,

 

As far as I know, theres no delete worksheet action in Power Automate.

 

You could use Office Script which has a delete function here. You would need to download and save the Excel to SharePoint or Onedrive first and use the Excel run script action

 

Screenshot_20210727-211321_Chrome.jpg

 

--------------------------------------------------------------------------
If I have answered your question, please mark my post as a solution
If you have found my response helpful, please give it a thumbs up

Krishna_R
Responsive Resident
Responsive Resident

@eric-cheng  thanks for the suggestion but using office scripts is disabled in tenant level governance. is there any other way other than this probably using api's or trigger actions ?

Hi @Krishna_R,

 

You can try Graph API here

 

Screenshot_20210727-235547_Chrome.jpg

 

--------------------------------------------------------------------------
If I have answered your question, please mark my post as a solution
If you have found my response helpful, please give it a thumbs up

Helpful resources

Announcements
Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Users online (3,456)