Spread Windows Forms 17
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet Namespace / IWorkbooks Interface / Add Method / Add(IWorkbook) Method


In This Topic
    Add(IWorkbook) Method
    In This Topic
    Adds an existed workbook into the workbook set.
    Syntax
    'Declaration
     
    
    Overloads Function Add( _
       ByVal workbook As IWorkbook _
    ) As Boolean
    'Usage
     
    
    Dim instance As IWorkbooks
    Dim workbook As IWorkbook
    Dim value As Boolean
     
    value = instance.Add(workbook)

    Parameters

    workbook

    Return Value

    true if the workbook is added into current workbook set; otherwise, false.
    Remarks
    The workbook must not belong to any other workbook set and its name must be unique.
    See Also