Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I want to open an Excel workbook which I know is read-only (password
protected), and contains code. To load the file and to disable the code, I set Application.AutomationSecurity = msoAutomationSecurityForceDisable, and then open the workbook: Application.Workbooks.Open Filename:=strFileName, WriteResPassword:=strWriteResPassw This works, but also the code execution stops without any error messages. Is this the expected result of this sequence? The problem does not occur when I do not alter the default automationsecurity setting. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Program Security | Excel Discussion (Misc queries) | |||
security/protecting an excel program | Excel Programming | |||
Error or Unexpected Behavior with Office Automation when you use early binding | Excel Programming | |||
Excel Error Reports and Unexpected Termination of Program | Excel Programming | |||
Excel Automation with Security Problems | Excel Programming |