AnnUndoEnable example for Visual Basic

' This example toggles the Undo feature

LEAD1.AnnUndoEnable = Not LEAD1.AnnUndoEnable