VBA reads the encrypted Excel files (Excel VBA encryption)

The experiment was a success:

ExcelApp.Workbooks.Open (file path, 0 , True , . 5 , 'password ')

Here is the pit, I found someone else's blog, the following test methods N times, are useless . . .

ExcelApp.Workbooks.Open (file path, Password = 'password')

I may be toxic it. . .

 

Guess you like

Origin www.cnblogs.com/ldl326308/p/10943755.html