IXlsFormSpinControl
COM interface ( getting help with interfaces )

 

interface IXlsFormSpinControl : IDispatch
{
  [id(1),propget] HRESULT AlternativeText([out, retval]BSTR* text);
  [id(1),propput] HRESULT AlternativeText([in]BSTR text);
  [id(2),propput] HRESULT VBAMacro([in]BSTR macro);
  [id(2),propget] HRESULT VBAMacro([out, retval]BSTR* macro);
  [id(3),propput] HRESULT CurrentValue([in]int v);
  [id(3),propget] HRESULT CurrentValue([out, retval]int* v);
  [id(4),propput] HRESULT MinimumValue([in]int v);
  [id(4),propget] HRESULT MinimumValue([out, retval]int* v);
  [id(5),propput] HRESULT MaximumValue([in]int v);
  [id(5),propget] HRESULT MaximumValue([out, retval]int* v);
  [id(6),propput] HRESULT IncrementValue([in]int increment);
  [id(6),propget] HRESULT IncrementValue([out, retval]int* increment);
  [id(7),propput] HRESULT LinkedCell([in]BSTR formula);
  [id(7),propget] HRESULT LinkedCell([out, retval]BSTR* formula);
  [id(8),propget] HRESULT Name([out, retval]BSTR* name);
}

 

HRESULT AlternativeText([out, retval]BSTR* text);
returns the alternative text. Optional.

HRESULT AlternativeText([in]BSTR text);
sets the alternative text. Optional.

HRESULT VBAMacro([in]BSTR macro);
sets the vba macro name for the form spin control.

HRESULT VBAMacro([out, retval]BSTR* macro);
returns the vba macro name for the form spin control.

HRESULT CurrentValue([in]int v);
sets the current value (integer) for the form spin control. Must be between 0 and 30000.

HRESULT CurrentValue([out, retval]int* v);
returns the current value (integer) for the form spin control. Must be between 0 and 30000.

HRESULT MinimumValue([in]int v);
sets the minimum value (integer) for the form spin control. Default is : 0. Must be between 0 and 30000.

HRESULT MinimumValue([out, retval]int* v);
returns the minimum value (integer) for the form spin control. Default is : 0. Must be between 0 and 30000.

HRESULT MaximumValue([in]int v);
sets the maximum value (integer) for the form spin control. Default is : 30000. Must be between 0 and 30000.

HRESULT MaximumValue([out, retval]int* v);
returns the maximum value (integer) for the form spin control. Default is : 30000. Must be between 0 and 30000.

HRESULT IncrementValue([in]int increment);
sets the incremental value (integer) by which the value increases or descreases for the form spin control. Default is : 1.

HRESULT IncrementValue([out, retval]int* increment);
returns incremental value (integer) by which the value increases or descreases for the form spin control. Default is : 1.

HRESULT LinkedCell([in]BSTR formula);
sets the linked cell for the form spin control. Usually of the form =RxCy

HRESULT LinkedCell([out, retval]BSTR* formula);
returns the linked cell for the form spin control. Usually of the form =RxCy

HRESULT Name([out, retval]BSTR* name);
returns the name of the form spin control.