Home > Net >  How to use vb.net to open the excel workbook with password protection
How to use vb.net to open the excel workbook with password protection

Time:11-19

Question background:
Have a job which contains excel VBA code book, a workbook open start the user forms, in order to prevent the user from macro Settings, open the workbook, modify the code will set the password protection, workbook file
Now want to use vb.net to do a boot program of the workbook, Start the workbook, program exits, so you can't use the workbook, such as the open method, it will take up the Process, how to use a similar System. Diagnostics. Process. The Start method, to implement the silent input password to open the workbook?

Thank you!

CodePudding user response:

Take up process not to spend any money, you let process started bai,

CodePudding user response:

@ interacting with professional developers
Hello, can help say specific?
Excel workbook file password, for example, "123456", how do you use the vb.net System. Diagnostics. Process. Start to open the book, in the Process of open directly into the password, don't show the input password dialog box
  • Related