如題 Excel 加密后 報錯:Initialisation of record 0x5B left 2 bytes remaining still to be read.
這裡用Biff8EncryptionKey 還是報錯
Using sFilename As New FileStream(sFile, FileMode.Open, FileAccess.Read)
Biff8EncryptionKey.CurrentUserPassword = "1194" '打開前呼叫
Dim shfbook As New NPOI.HSSF.UserModel.HSSFWorkbook(sFilename)
End Using
轉載請註明出處,本文鏈接:https://www.uj5u.com/gongcheng/85509.html
標籤:VB基礎類
上一篇:錯了 怎么改啊
