Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Thanks for the reply
I am using vb.net interop, If I try and open a workbook using XL.Workbooks.Open("ABC.xls") without supplying a password, it prompts me for one,. I have DisplayAlerts = False set. Tim "Tom Ogilvy" wrote in message ... Try to open it and handle the error On Error Resume Next set kb = Workbooks.Open("C:\MyFiles\Myfile.xls") On Error goto 0 if kb is nothing then msgbox "Has password" exit sub End if -- Regards, Tom Ogilvy "Tim Marsden" wrote in message ... Hi, How do I tell if a .xls file has a password before I try and open it. I don't mean a Workbook password but a file password. The one applied when you do a save as. Tim |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How to retrive password protected worksheet but forgot password? | Excel Worksheet Functions | |||
Password protected? help!! | Excel Worksheet Functions | |||
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) | |||
VBa, Password protected sheet fails to get unprotected with the same password | Excel Programming |