in reply to Re: Password Protected Excel Files Open while Display set to 0
in thread Password Protected Excel Files Open while Display set to 0

According to the above code the excel files should not get open as display is set to 0.
  • Comment on Re^2: Password Protected Excel Files Open while Display set to 0

Replies are listed 'Best First'.
Re^3: Password Protected Excel Files Open while Display set to 0
by Anonymous Monk on Jan 23, 2009 at 07:54 UTC
    But you're not checking for errors
    Win32::OLE->LastError()
    A reply falls below the community's threshold of quality. You may see it by logging in.
Re^3: Password Protected Excel Files Open while Display set to 0
by weismat (Friar) on Jan 23, 2009 at 07:37 UTC
    What Excel version are using?
    As this code is based on the deprecated OLE interface, there is a risk that MS has not implemented it properly in newer version.
      I am using Excel 2003.