IXlsRanges
COM interface ( getting help with interfaces )

 

interface IXlsRanges : IDispatch
{
  [id(1),propget] HRESULT Count([out, retval]int* count);
  [id(2),propget] HRESULT DynamicRange([in]int i, [out, retval]IXlsDynamicRange** dynamicrange);
}

 

HRESULT Count([out, retval]int* count);
tells how many existing named ranges there are in the workbook.

HRESULT DynamicRange([in]int i, [out, retval]IXlsDynamicRange** dynamicrange);
retrives the i-th named range.