Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Visio 2013 - Undo has stopped working!

Posted on 2014-01-02
4
Medium Priority
?
3,453 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 53

Assisted Solution

by:Rgonzo1971
Rgonzo1971 earned 1000 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 1000 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

Prepare for an Exciting Career in Cybersecurity

Help prevent cyber-threats and provide solutions to safeguard our global digital economy. Earn your MS in Cybersecurity. WGU’s MSCSIA degree program curriculum features two internationally recognized certifications from the EC-Council at no additional time or cost.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

AWS has developed and created its highly available global infrastructure allowing users to deploy and manage their estates all across the world through the use of the following geographical components   RegionsAvailability ZonesEdge Locations  Wh…
In this article, the configuration steps in Zabbix to monitor devices via SNMP will be discussed with some real examples on Cisco Router/Switch, Catalyst Switch, NAS Synology device.
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…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

971 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