By using Aspose.Total for .NET you can convert DOCX to EXCEL within any .NET, C#, ASP.NET and VB.NET application in two simple steps. Firstly, by using Aspose.Words for .NET , you can export DOCX to HTML. After that, by using Aspose.Cells for .NET Spreadsheet Programming API, you can convert HTML to EXCEL.
Convert DOCX to EXCEL via C# or Online App
Get Started with .NET File Automation APIs
Install from the command line as nuget install Aspose.Total
or via Package Manager Console of Visual Studio.
Alternatively, get the offline MSI installer or DLLs in a ZIP file from downloads .
Free Online Converter for DOCX to EXCEL
Convert Protected DOCX to EXCEL via C#
Using the API, you can also open the password-protected document. If your input DOCX document is password protected, you cannot convert it to EXCEL without using the password. The API allows you to open the encrypted document by passing the correct password in a LoadOptions object. The following code example shows how to try opening an encrypted document with a password:
Convert DOCX to Protected EXCEL file via C#
After you convert DOCX to EXCEL, you can also encrypt and password protect your EXCEL documents. In order to encrypt your document, open it using Workbook class and specify XOR Encryption Type and Strong Encryption type (RC4, Microsoft Strong Cryptographic Provider) encryption by using the SetEncryptionOptions method. You can also set a password to your EXCEL by using the Password property of WorkbookSettings class.
Explore DOCX Conversion Options with .NET
What is DOCX File Format
DOCX is a file format for Word documents, developed by Microsoft. It is a XML-based format that allows for more complex document structures than the older DOC format, and supports features such as document encryption, digital signatures, and watermarks. DOCX files are also smaller in size than their DOC counterparts, making them more efficient to store and transmit.
Read MoreWhat is EXCEL File Format
Microsoft Excel, the popular spreadsheet software, supports several file formats for saving and sharing data. Here are some of the most common Excel file formats include XLS (Excel Spreadsheet), XLSX (Excel Open XML Spreadsheet), CSV (Comma-Separated Values), TXT (Plain Text), PDF (Portable Document Format), ODS (OpenDocument Spreadsheet) and DBF (dBASE File). In addition to these, there are other less common file formats such as XLT, XLTX, and XLTM, which are used for templates, and XML, which is a format used for data exchange between different software applications.
Read More