Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Check if Excel file is password protected
The follwing code throws up a prompt for a password when the Excel file is
password protected (it is vb.net). ExcelWorkBook = ExcelApplication.Workbooks.Open(ExcelFullName, Nothingobj, True, Nothingobj, Nothingobj, Nothingobj, Nothingobj, Nothingobj, Nothingobj, Nothingobj, Nothingobj, Nothingobj, Nothingobj, Nothingobj, Nothingobj) How do I detect in code (vb.net or c#) if an Excel workbook is password protected when I get the prompt for password at the same time I am trying to open it? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Referencing a password protected excel file | Setting up and Configuration of Excel | |||
Password protected Excel File | Excel Discussion (Misc queries) | |||
how to automate opening a password protected excel file? e.g. a .xls that has a password set in the security tab. | Excel Worksheet Functions | |||
bypass password when update linking of password protected file | Excel Discussion (Misc queries) | |||
password protected a check box | Excel Worksheet Functions |