How to download a file using office.js excel add-in?

654 Views Asked by At

Is there any way to download a file using office.js excel add-in? Simple href is now downloading the file.

1

There are 1 best solutions below

0
On

There is a sample add-in that does this by using XMLHttpRequest.open(), and a library called FileSaver, at Office Add-in JavaScript FileDownload.