+ Reply to Thread
Results 1 to 3 of 3

Can't enter break mode at this time

  1. #1
    Registered User
    Join Date
    10-27-2012
    Location
    Uk
    MS-Off Ver
    Excel 2010
    Posts
    98

    Question Can't enter break mode at this time

    Hi All

    I'm trying to an active-x button to allow the user to quickly remove certain sheets

    The following script works:

    Please Login or Register  to view this content.
    But when I try to add an if statement around it, I get the following error:

    Please Login or Register  to view this content.
    Picture1.png

    All the advice online says to turn off Application.DisplayAlerts, but I actually want them on as I do want the dialog box that asks the user if they're really sure

    Any/all advice appreciated
    All the best
    Vicky

  2. #2
    Forum Guru
    Join Date
    07-25-2011
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    9,643

    Re: Can't enter break mode at this time

    Remove the End statement.
    Surround your VBA code with CODE tags e.g.;
    [CODE]your VBA code here[/CODE]
    The # button in the forum editor will apply CODE tags around your selected text.

  3. #3
    Registered User
    Join Date
    10-27-2012
    Location
    Uk
    MS-Off Ver
    Excel 2010
    Posts
    98

    Re: Can't enter break mode at this time

    Perfect thank you!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Can't enter break mode at this time
    By Effexus3 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-19-2019, 04:33 PM
  2. Error: Cant enter break mode at this time..
    By Vivek2705 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-24-2019, 09:07 AM
  3. [SOLVED] "Can't enter break mode at this time" (Issues with adding controls at runtime)
    By mc84excel in forum Excel Programming / VBA / Macros
    Replies: 22
    Last Post: 12-16-2013, 07:10 PM
  4. "Can't enter break mode at this time" error
    By jp001 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 04-11-2009, 09:19 AM
  5. [SOLVED] "Can't enter break mode at this time"
    By Paul T. in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-21-2006, 07:00 PM
  6. [SOLVED] Can't enter break mode at this time
    By CWillis in forum Excel General
    Replies: 2
    Last Post: 06-01-2006, 02:45 PM
  7. received message: Can't enter break mode at this time
    By William Weder in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-28-2006, 10:00 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1