I hope someone can help me how to open excel file in DocumentViewer component in wpf
I hope someone can help me how to open excel file in DocumentViewer component
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
DocumentViewerdoes 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.