I hope someone can help me how to open excel file in DocumentViewer
component in wpf
Asked
Active
Viewed 3,922 times
1

marc_s
- 732,580
- 175
- 1,330
- 1,459

Irakli Lekishvili
- 33,492
- 33
- 111
- 169
1 Answers
3
DocumentViewer
does not support opening Excel documents directly. You will have to convert it to XPS first. You may take a look at the following article which illustrates how you could use Office Interop in order to convert the document to XPS.

Darin Dimitrov
- 1,023,142
- 271
- 3,287
- 2,928