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 Lunch Excel ...
Power Automate
Unanswered

Failed to Lunch Excel In PAD

(0) ShareShare
ReportReport
Posted on by 36

Unable to Launch the Excel getting below error

Failed to open Excel document '' (Excel launching error).

Microsoft.Flow.RPA.Desktop.Modules.SDK.ActionException: Failed to open Excel document '' (Excel launching error). ---> System.ArgumentNullException: Value cannot be null.
Parameter name: type
at System.Activator.CreateInstance(Type type, Boolean nonPublic)
at System.Activator.CreateInstance(Type type)
at Microsoft.Flow.RPA.Desktop.Modules.Excel.Actions.ExcelActions.InitializeExcelApplication(Boolean loadAddInsAndMacros, Boolean& workaroundUsed)
at Microsoft.Flow.RPA.Desktop.Modules.Excel.Actions.ExcelActions.LaunchExcel(Variant documentPath, Variant varPassword, Variant& excelInstance, Int32 launchMode, Boolean visible, Boolean loadAddInsAndMacros, Boolean needsAuthentication, Boolean readOnly, Boolean launchInNewInstance)
--- End of inner exception stack trace ---
at Microsoft.Flow.RPA.Desktop.Modules.Excel.Actions.LaunchExcel.Execute(ActionContext context)
at Microsoft.Flow.RPA.Desktop.Robin.Engine.Execution.ActionRunner.Run(IActionStatement statement, Dictionary`2 inputArguments, Dictionary`2 outputArguments)

  • Kresimir_RPA Profile Picture
    286 on at

    Hi @RohithShastri ,

     

    Have you set variable for excel file? It has to contain the name of the file and it's location.

     

    Regards,

    Krešimir

  • RohithShastri Profile Picture
    36 on at

    Hi @Kresimir_RPA 

    Yes, Last Night It was working Fine, Today I haven't changed any settings and don't know why it not working.

  • ryule Profile Picture
    929 Super User 2024 Season 1 on at

    Can you share a screenshot of your bot?

    Do you run it unattended or on your computer?

  • RohithShastri Profile Picture
    36 on at

    Please find the attached screenshot.

    RohithShastri_0-1659674479229.png

     

  • Kresimir_RPA Profile Picture
    286 on at

    How many sheets you have in that excel? Maybe you need to set the right sheet to work with. Seems to me you're missing 'Set active Excel worksheet' action before Read from Excel action.

     

    Best regards,

    Krešimir

  • RohithShastri Profile Picture
    36 on at

    In that file there is only one sheet is there

  • RohithShastri Profile Picture
    36 on at

    In that file there is only one sheet is there 

  • ryule Profile Picture
    929 Super User 2024 Season 1 on at

    Can you try changing your Launch Excel action to open in a new instance, instead of an existing instance, and see if that helps?

  • RohithShastri Profile Picture
    36 on at

    Sorry I didn't get you what you're saying please will you brief or else will you share some screenshots 

  • ryule Profile Picture
    929 Super User 2024 Season 1 on at

    ryule_0-1659705701905.png

     

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
11manish Profile Picture

11manish 227 Super User 2026 Season 2

#2
David_MA Profile Picture

David_MA 213 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 151

Last 30 days Overall leaderboard