WorksheetCollection Class

WorksheetCollection class

Encapsulates a collection of objects.


type WorksheetCollection struct  {
	ptr unsafe.Pointer
}

Constructors

MethodDescription

Methods

MethodDescription
IsNullChecks whether the implementation object is nullptr.
GetWebExtensionTaskPanesGets the list of task panes.
GetWebExtensionsGets the list of task panes.
GetThreadedCommentAuthorsGets the list of threaded comment authors.
IsRefreshAllConnectionsIndicates whether refresh all connections on opening file in MS Excel.
SetIsRefreshAllConnectionsIndicates whether refresh all connections on opening file in MS Excel.
CreateRangeCreates a object from an address of the range.
CreateUnionRangeCreates a object from an address of the range.
GetNamesGets the collection of all the Name objects in the spreadsheet.
Get_IntGets the element at the specified index.
Get_StringGets the element with the specified name.
GetSheetByCodeNameGets the worksheet by the code name.
GetActiveSheetNameRepresents the name of active worksheet when the spreadsheet is opened.
SetActiveSheetNameRepresents the name of active worksheet when the spreadsheet is opened.
GetActiveSheetIndexRepresents the index of active worksheet when the spreadsheet is opened.
SetActiveSheetIndexRepresents the index of active worksheet when the spreadsheet is opened.
SortNamesSorts the defined names.
Insert_Int_SheetTypeInsert a worksheet.
Insert_Int_SheetType_StringInsert a worksheet.
Add_SheetTypeAdds a worksheet to the collection.
SwapSheetSwaps the two sheets.
AddAdds a worksheet to the collection.
Add_StringAdds a worksheet to the collection.
RegisterAddInFunction_String_String_BoolAdds addin function into the workbook
RegisterAddInFunction_Int_StringAdds addin function into the workbook
RemoveAt_StringRemoves the element at a specified name.
RemoveAt_IntRemoves the element at a specified index.
ClearClear all worksheets.
AddCopy_StringAdds a worksheet to the collection and copies data from an existed worksheet.
AddCopy_IntAdds a worksheet to the collection and copies data from an existed worksheet.
GetDxfsGets the master differential formatting records.
GetRangeByName_StringGets Range object by pre-defined name.
GetRangeByName_String_Int_BoolGets by pre-defined name or table’s name
GetXmlMapsGets and sets the XML maps in the workbook.
SetXmlMapsGets and sets the XML maps in the workbook.
GetBuiltInDocumentPropertiesReturns a collection that represents all the built-in document properties of the spreadsheet.
GetCustomDocumentPropertiesReturns a collection that represents all the custom document properties of the spreadsheet.
GetOleSizeGets and Sets displayed size when Workbook file is used as an Ole object.
SetOleSize_ObjectGets and Sets displayed size when Workbook file is used as an Ole object.
SetOleSize_Int_Int_Int_IntSets displayed size when Workbook file is used as an Ole object.
GetExternalLinksRepresents external links in a workbook.
GetTableStylesGets object.
ClearPivottablesClears pivot tables from the spreadsheet.
GetRevisionLogsRepresents revision logs.
RefreshAllRefresh all pivot tables and charts with pivot source.
RefreshPivotTablesRefreshes all the PivotTables in the Excel file.
RefreshPivotTables_PivotTableRefreshOptionRefreshes all the PivotTables in the Excel file.
GetCount