Solved

Visio 2013 - Undo has stopped working!

Posted on 2014-01-02
4
3,115 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 51

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

Forrester Webinar: xMatters Delivers 261% ROI

Guest speaker Dean Davison, Forrester Principal Consultant, explains how a Fortune 500 communication company using xMatters found these results: Achieved a 261% ROI, Experienced $753,280 in net present value benefits over 3 years and Reduced MTTR by 91% for tier 1 incidents.

Question has a verified solution.

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

Security is one of the biggest concerns when moving and migrating your data from your on-premise location to the Public Cloud.  Where is your data? Who can access it? Will it be safe from accidental deletion?  All of these questions and more are imp…
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…

734 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