Spread Windows Forms 15.0
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet.Commands Namespace / Command Class / Execute Method
A prefer workbook that might be used for excecuting command.


In This Topic
    Execute Method (Command)
    In This Topic
    Executes this command.
    Syntax
    'Declaration
     
    
    Public Function Execute( _
       ByVal workbook As Workbook _
    ) As CommandResult
    'Usage
     
    
    Dim instance As Command
    Dim workbook As Workbook
    Dim value As CommandResult
     
    value = instance.Execute(workbook)
    public CommandResult Execute( 
       Workbook workbook
    )

    Parameters

    workbook
    A prefer workbook that might be used for excecuting command.

    Return Value

    A CommandResult value represents the executing result.
    Remarks
    The state data is not saved.
    See Also