L
Larry
This macro intercepts EditUndo and works in conjunction with two other
macros that enable me to undo an entire macro in one step using Ctrl+Z.
However, when I place cursor in BookMarkExists and press F1, I get the
following error message:
"Unexpected error 32811. Contact Microsoft Technical support."
Any ideas why this is happening?
Sub EditUndo()
' Catches Ctrl-Z. Loops EditUndo until previous macro is undone.
If ActiveDocument.Undo = False Then Exit Sub
While BookMarkExists("_InMacro_")
If ActiveDocument.Undo = False Then Exit Sub
Wend
End Sub
macros that enable me to undo an entire macro in one step using Ctrl+Z.
However, when I place cursor in BookMarkExists and press F1, I get the
following error message:
"Unexpected error 32811. Contact Microsoft Technical support."
Any ideas why this is happening?
Sub EditUndo()
' Catches Ctrl-Z. Loops EditUndo until previous macro is undone.
If ActiveDocument.Undo = False Then Exit Sub
While BookMarkExists("_InMacro_")
If ActiveDocument.Undo = False Then Exit Sub
Wend
End Sub