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 / Failed to delete cells...
Power Automate
Unanswered

Failed to delete cells in PAD

(0) ShareShare
ReportReport
Posted on by

Hello All,

 

I am trying to delete some rows which has records but it getting failed with the below error, kindly anyone can suggest what kind of error is this?

 

 

Correlation Id: 922aadb3-e6c1-4658-aa59-af6b3521fc4f

 

Exception has been thrown by the target of an invocation.: Microsoft.PowerPlatform.PowerAutomate.Desktop.Actions.SDK.ActionException: Failed to delete cells. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Runtime.InteropServices.COMException: The Header and Insert rows of a table with no data can't be deleted. Convert the table to a range if you want to delete these rows.
   --- End of inner exception stack trace ---
   at System.RuntimeType.InvokeDispMethod(String name, BindingFlags invokeAttr, Object target, Object[] args, Boolean[] byrefModifiers, Int32 culture, String[] namedParameters)
   at System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder, Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams)
   at System.Type.InvokeMember(String name, BindingFlags invokeAttr, Binder binder, Object target, Object[] args, CultureInfo culture)
   at Microsoft.Flow.RPA.Desktop.Modules.Excel.Common.Extensions.ExcelHelper.InvokeMethod(Object object, String methodName, Object[] methodArgs)
   at Microsoft.Flow.RPA.Desktop.Modules.Excel.Actions.DeleteCellsAction.Execute(ActionContext context)
   --- End of inner exception stack trace ---
   at Microsoft.Flow.RPA.Desktop.Modules.Excel.Actions.DeleteCellsAction.Execute(ActionContext context)
   at Microsoft.Flow.RPA.Desktop.Robin.Engine.Execution.ActionRunner.Run(IActionStatement statement, Dictionary`2 inputArguments, Dictionary`2 outputArguments)

 

thanks in advance

  • CU16071609-1 Profile Picture
    6,255 Moderator on at

    @shah_R 

     

    Please share screenshot of your flow and screenshot of datatable variable with values.

  • VishnuReddy1997 Profile Picture
    2,666 Super User 2026 Season 1 on at

    Hi @shah_R ,

     

    can you please ellabrote your issue with screenshots of the flow.

     

    Regards,

    Vishnu Reddy

  • AK88 Profile Picture
    453 on at

    Hi @shah_R,

     

    Your query is not clear. Kindly elaborate on it with samples and screenshots.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 355

#2
11manish Profile Picture

11manish 336 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 308

Last 30 days Overall leaderboard