+ Reply to Thread
Results 1 to 3 of 3

VBA start from beggining when hitting "ESC"

  1. #1
    Forum Contributor
    Join Date
    04-03-2014
    Location
    Berlin
    MS-Off Ver
    Excel 2010
    Posts
    160

    VBA start from beggining when hitting "ESC"

    Hi everybody,

    I've got the code below that I've inserted in several excel workbooks to collect data from different users.
    Some users have hit the "ESC" button while the code was running, moment when the sequence of the code was interrupted and no data could be collected when the users introduced data into Sheets("A").

    Is it possible add to the code something that would rerun the whole code from the beggining each time the "ESC" button is hit while the code is running?

    Any suggestions are appreciated, thanks!

    regards



    Please Login or Register  to view this content.

  2. #2
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: VBA start from beggining when hitting "ESC"

    Disable the Esc Key in your code

    Please Login or Register  to view this content.


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  3. #3
    Forum Contributor
    Join Date
    04-03-2014
    Location
    Berlin
    MS-Off Ver
    Excel 2010
    Posts
    160

    Re: VBA start from beggining when hitting "ESC"

    Sixthsense,

    simple yet effective. Thanks!

    regards

+ 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. replace all defined range names in the sheet that start with "Street" to "Road"
    By matrex in forum Excel Programming / VBA / Macros
    Replies: 17
    Last Post: 11-04-2016, 08:53 AM
  2. Countdown Timer in Excel with a "pause" and "start" button
    By bbhagwat in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-13-2013, 05:49 AM
  3. Excel Userform - can't step into VBA code. Hitting "F8" just pops up the form
    By RAMguy in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-15-2013, 10:51 AM
  4. [SOLVED] convert general format to text format with "0" at beggining
    By grue in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-07-2012, 12:39 PM
  5. Replies: 4
    Last Post: 06-15-2012, 03:00 AM

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