Solved

Visio 2013 - Undo has stopped working!

Posted on 2014-01-02
4
2,793 Views
Last Modified: 2014-01-03
I just performed a movee and a delete and when I attempted to UNDO it, my button was grayed out.  CTRL + Z also didn't work.
Is this a bug in 2013?
0
Comment
Question by:brothertruffle880
  • 2
4 Comments
 
LVL 48

Assisted Solution

by:Rgonzo1971
Rgonzo1971 earned 250 total points
ID: 39753322
Hi,

pls try
Sub Macro1()
    Application.UndoEnabled = True
End Sub

Open in new window

Regards
0
 
LVL 11

Accepted Solution

by:
Visio_Guy earned 250 total points
ID: 39753574
Hi BT,

Are you running any VBA code that you've written yourself?

Rgonzo is right. You can also just type this in the Immediate window of the VBA editor:

Visio.Application.UndoEnabled = True

So you don't have to make a Subroutine. If undo dies from my own code, I often have to restart Visio after re-enabling undo.
0
 

Author Comment

by:brothertruffle880
ID: 39753789
Dear Visio Guy and Rgonzo:
I did run VBA code but I definitely, absolutely, positively did NOT disable the Undo!  Does the macro recorder insert this command into code without my asking?
OR
Does the undo get disabled when you are recording something else?  
Strange.
ME, of all people, live and die by the UNDO command!
0
 
LVL 11

Expert Comment

by:Visio_Guy
ID: 39753968
In my experience, undo gets disabled when I do two things:

1. Wrap my VBA code with an undo wrapper (you can bundle many VBA calls into a single undo wrapper, so that for example, "Undo My Last Stuff" shows in the Visio undo UI)
2. An error occurs inside my code while the undo scope is still "open".

I can't imagine you've done this, and I don't think that the macro recorder creates undo blocks. Look for BeginUndoScope in the macro code...
0

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

This article is focussed on erradicating the confusion with slash notations. This article will help you identify and understand the purpose and use of slash notations. A deep understanding of this will help you identify networks quicker especially w…
Data center, now-a-days, is referred as the home of all the advanced technologies. In-fact, most of the businesses are now establishing their entire organizational structure around the IT capabilities.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now