Tuesday, July 11, 2017

How to launch a document by clicking a link to the file?

Word:
<a href='ms-word:ofe|u|path/to/web/word/document.docx'>Link to document</a>

Excel:
<a href='ms-excel:ofe|u|path/to/web/word/document.xlsx'>Link to document</a>

Powerpoint
<a href='ms-powerpoint:ofe|u|path/document.pptx'>Link to document</a>

No comments:

Post a Comment