AnnUndoDepth example for Visual Basic

' This example increases the length of the undo stack

LEAD1.AnnUndoDepth = LEAD1.AnnUndoDepth + 5