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

667 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 answers

0
Rick Kirkham 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.