RunEditableCommand
(
RunEditableCommandEventArgs oRunEditableCommandEventArgs,
ThisWorkbook oThisWorkbook
)
{
Debug.Assert(oRunEditableCommandEventArgs != null);
Debug.Assert(oThisWorkbook != null);
// Arbitrarily use the workbook as the sender here. TaskAutomator
// can't be used, because it's static.
CommandDispatcher.SendCommand(oThisWorkbook,
oRunEditableCommandEventArgs);
return (oRunEditableCommandEventArgs.CommandSuccessfullyRun);
}