A
Aussie Susan
(Visio 2003)
I have a macro that is called via a button on my custom toolbar. The macro is:
Public Sub ResourceLevelling()
Dim UndoID As Long
UndoID = Application.BeginUndoScope("Resource Levelling")
' stuff is done here
Application.EndUndoScope UndoID, True
End Sub
When the whole thing completes, the Edit->Undo text reads "Undo Go To Page"
(there is code to change the page within the functions called by the macro).
I understood that the 'Undo Resource Levelling" text should appear in this
menu location (and this is what I want).
As it turns out, if I select the mislabelled undo option (or type Ctrl/Z)
then the whole thing IS undone. However, the text is misleading for the
people who will be ultimately using this Visio stencil/diagram.
Is there something else I need to do to get my text displayed.
Thanks
Susan
I have a macro that is called via a button on my custom toolbar. The macro is:
Public Sub ResourceLevelling()
Dim UndoID As Long
UndoID = Application.BeginUndoScope("Resource Levelling")
' stuff is done here
Application.EndUndoScope UndoID, True
End Sub
When the whole thing completes, the Edit->Undo text reads "Undo Go To Page"
(there is code to change the page within the functions called by the macro).
I understood that the 'Undo Resource Levelling" text should appear in this
menu location (and this is what I want).
As it turns out, if I select the mislabelled undo option (or type Ctrl/Z)
then the whole thing IS undone. However, the text is misleading for the
people who will be ultimately using this Visio stencil/diagram.
Is there something else I need to do to get my text displayed.
Thanks
Susan