Announcements
I am using the Launch function in a button in PowerApps to open/launch an Excel (xlsx) file stored in a SharePoint library. It keeps opening in my desktop Excel, but I would like to force it to launch into Excel online. Is there a way to do this?
Launch("https://mycompany.sharepoint.com/sites/PTS/PTS_Documents/" & FileGallery.Selected.'File name with extension')
This could be happing because of a setting in SharePoint. What happens when you manually open an excel file in SharePoint? Does it open in the App or the Web? If it opens in the App you may need to ask your SharePoint Administrator to change the default setting to open files in the Web version.
---------------------------------------------------Please Accept as Solution if it solves your question. Or just give it a Thumbs Up if it is helpful as can help others.
Subscribe: https://www.youtube.com/channel/UCFpvUlpx84FuIPOdInGKMTwTwitter: https://twitter.com/assist_365
RegardsDarren Lutchner - 365 Assist
I have already set the library to default to open in the web version -- and it indeed does -- but PowerApps still opens it in desktop Excel.
In that case I think rather than open using Filename and extension you are going to have to use the full SharePoint URL.
Like this:
You are probably going to want to have the docID as a variable that can be changed.
I guess I was making it harder than needed. This works great: Launch(AttachmentGallery.Selected.'Link to item')
Thanks for your suggestions anyway.
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.
Congratulations to our community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
11manish 405 Super User 2026 Season 2
Mohsin Ali 368
WarrenBelz 244 Most Valuable Professional