IXlsWorksheetLockProperties
COM interface ( getting help with interfaces )

 

interface IXlsWorksheetLockProperties : IDispatch
{
  [id(1),propget] HRESULT Content([out, retval] BOOL* lock);
  [id(1),propput] HRESULT Content([in]BOOL lock);
  [id(2),propget] HRESULT Objects([out, retval] BOOL* lock);
  [id(2),propput] HRESULT Objects([in]BOOL lock);
  [id(3),propget] HRESULT Scenarios([out, retval] BOOL* lock);
  [id(3),propput] HRESULT Scenarios([in]BOOL lock);
  [id(4),propget] HRESULT Password([out, retval] BSTR* password);
  [id(4),propput] HRESULT Password([in]BSTR password);

}

 

HRESULT Content([out, retval] BOOL* lock)
returns whether the content of the worksheet is protected against modifications.

HRESULT Content([in]BOOL lock)
sets whether the content of the worksheet is protected against modifications.

HRESULT Objects([out, retval] BOOL* lock)
returns whether the (rich) objects of the worksheet are protected against modifications.

HRESULT Objects([in]BOOL lock)
sets whether the (rich) objects of the worksheet are protected against modifications.

HRESULT Scenarios([out, retval] BOOL* lock)
returns whether the scenarios (scripts) of the worksheet are protected against modifications.

HRESULT Scenarios([in]BOOL lock)
sets whether the scenarios (scripts) of the worksheet are protected against modifications.

HRESULT Password([out, retval] BSTR* password)
returns the password.

HRESULT Password([in]BSTR password)
sets the password.