Solved

Visio 2013 - Undo has stopped working!

Posted on 2014-01-02
4
3,056 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 50

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 learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
EIGRP on point-to-point vlan 14 78
Managed vs unmanaged switches 8 74
Visio 2013 What happened to the Shapes 4 28
VLAN 1 Line Protocol Down 9 37
This article is a step by step guide on how to create a basic PTP link using Ubiquiti airOS devices. This guide can be used on the following Ubiquiti AirMAX devices. Nanostation, Bullets, AirBridge, Nanobeam, NanoBridge to name a few. Please review …
Creating an OSPF network that automatically (dynamically) reroutes network traffic over other connections to prevent network downtime.
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…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

756 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