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 / PAD error HRESULT: 0x8...
Power Automate
Unanswered

PAD error HRESULT: 0x80028029

(0) ShareShare
ReportReport
Posted on by 17

Hello !  In one of my "flow" a very strange error appeared with a fairly simple step.
1st step: run Excel

2nd: Set the active sheets with index 1

BartlomiejJurek_0-1655103198082.png

 

 

 

and suddenly I get an error namely:

 

Microsoft.Flow.RPA.Desktop.Modules.SDK.ActionException: Failed to activate worksheet. ---> System.Runtime.InteropServices.COMException: Invalid forward reference, or reference to uncompiled type. (Exception from HRESULT: 0x80028029 (TYPE_E_INVALIDSTATE))
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.Actions.ExcelActions.InvokeMethod(Object o, String methodName, Object[] methodArgs)
at Microsoft.Flow.RPA.Desktop.Modules.Excel.Actions.ExcelActions.SetActiveWorksheet(Variant excelInstance, Variant sheetIndex, Variant sheetName, Int32 findWorksheetMode)
--- End of inner exception stack trace ---
at Microsoft.Flow.RPA.Desktop.Modules.Excel.Actions.SetActiveWorksheet.Execute(ActionContext context)
at Microsoft.Flow.RPA.Desktop.Robin.Engine.Execution.ActionRunner.Run(IActionStatement statement, Dictionary`2 inputArguments, Dictionary`2 outputArguments)

 

 

I was browsing the forums and in the search google, but I can't find a solution to this problem.

I have the same question (0)
  • EktaKadam Profile Picture
    9 on at

    Getting same issue since long. Any solution for above error?

  • BartlomiejJurek Profile Picture
    17 on at

    Unfortunately, no solution to this problem has been found as it should be.
    I decided to do it a different way. First, I delete the step with the error and then insert a new one with the same. And it works

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 247 Super User 2026 Season 2

#2
11manish Profile Picture

11manish 164 Super User 2026 Season 2

#3
trice602 Profile Picture

trice602 138 Super User 2026 Season 2

Last 30 days Overall leaderboard