EasyXLS

Encrypt.bas

Attribute VB_Name = "Encrypt"
Public ENCRYPTION_NONE As Long
Public ENCRYPTION_WEAK_XOR As Long
Public ENCRYPTION_OFFICE_97_2000_COMPATIBLE As Long

Sub Initialize()
    ENCRYPTION_NONE = 0
    ENCRYPTION_WEAK_XOR = 1
    ENCRYPTION_OFFICE_97_2000_COMPATIBLE = 2
End Sub

EasyXLS Excel components:

.NET
Excel Library for VB6
full COM+ version to import, export or convert Excel files
Excel Writer for VB6
COM+ version to create and export Excel files
Excel Reader for VB6
COM+ version to read and import Excel files
Download EasyXLS™ Excel Component for VB6

File formats:

MS Excel 97 - 2003
MS Excel 2007 - 2019
MS Excel 2021
Office 365
XLSXXLSMXLSBXLS
XMLHTMLCSVTXT