cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

Doubt! Botton download.

What is the formula for a button to download the data sheet used in the app? I want the download to open a file in excel.

1 ACCEPTED SOLUTION

Accepted Solutions
claudiosvcc
Power Apps
Power Apps

Hi,

Not sure if I quite understood what you want, but there's a "Download" function you can call with any file uri as a parameter. Naturally the file must be accessible.

 

But if you also want it to launch excel, you may try using

Launch("ms-excel:ofe|u|http://contoso/Q4/budget.xls")

Please notice that the ms-excel protocol is an excel functionality described here https://msdn.microsoft.com/en-us/library/office/dn906146.aspx, so please check if that works with your excel version.

 

Regarding Download and Launch functions, there's a bit more information here.

 

Does that answer you question?

View solution in original post

2 REPLIES 2
claudiosvcc
Power Apps
Power Apps

Hi,

Not sure if I quite understood what you want, but there's a "Download" function you can call with any file uri as a parameter. Naturally the file must be accessible.

 

But if you also want it to launch excel, you may try using

Launch("ms-excel:ofe|u|http://contoso/Q4/budget.xls")

Please notice that the ms-excel protocol is an excel functionality described here https://msdn.microsoft.com/en-us/library/office/dn906146.aspx, so please check if that works with your excel version.

 

Regarding Download and Launch functions, there's a bit more information here.

 

Does that answer you question?

View solution in original post

Anonymous
Not applicable

Thank you!!!!!!

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Top Kudoed Authors
Users online (1,442)