How to create and display an Excel file?

vitaminchik 486 Reputation points
2024-03-05T19:49:16.9533333+00:00

Hello. Is it possible to create an Excel file in a WPF application in C#. At the same time, so that you can display and edit this file as in the Microsoft Excel application?

Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,780 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,948 questions
Office Development
Office Development
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Development: The process of researching, productizing, and refining new or existing technologies.
3,928 questions
{count} votes

Accepted answer
  1. peiye zhu 165 Reputation points
    2024-03-08T01:23:28.21+00:00
    1 person found this answer helpful.

1 additional answer

Sort by: Most helpful
  1. Olaf Helper 44,741 Reputation points
    2024-03-05T19:55:31.1666667+00:00

    Your post is not very clear, but you can use Office InterOps for MS Office documents, see Microsoft.Office.Interop.Excel Namespace

    What do you what to display; again, ... unclear?


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.