'Declaration Public Overridable Function Execute( _ ByVal command As Command, _ Optional ByVal workbook As IWorkbook, _ Optional ByVal notifyUI As Boolean _ ) As CommandResult
'Usage Dim instance As CommandManager Dim command As Command Dim workbook As IWorkbook Dim notifyUI As Boolean Dim value As CommandResult value = instance.Execute(command, workbook, notifyUI)
Parameters
- command
- The command to be executed.
- workbook
- The workbook that the command executes.
- notifyUI
true
if change(s) is notified to control; otherwise,false
.
Return Value
An CommandResult struct which contains information about the execution of action.