he OnWorkbookNewSheet property provides facilities for trapping the event
fired by Excel when a new worksheet is inserted into a workbook. Consider the
code below.
The output of the signature() method shows that an event handler should take
two arguments. We define such handler and pass it to the bind method.
Consequently, inserting a new sheet direct output to the ControlShell.
|