Easy to test but no, it does not undo. You can use a MsgBox() to confirm. Once it works, there should be no issue. Especially, if the menus can be added back easily.