+ Reply to Thread
Results 1 to 4 of 4

How do I stop a macro without a Pause button ?

  1. #1
    Registered User
    Join Date
    03-02-2017
    Location
    France
    MS-Off Ver
    2002
    Posts
    2

    How do I stop a macro without a Pause button ?

    Hi all,

    I have a HP Pavilion laptop, which does not have a Pause button. Is there a way to change the Ctrl+Pause shortcut to something else in order to stop a macro?

    Thank you!
    Last edited by InTheSummer; 03-04-2017 at 01:38 PM. Reason: solved :)

  2. #2
    Forum Expert Logit's Avatar
    Join Date
    12-23-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2019 Professional Plus - 2007 Enterprise
    Posts
    7,014

    Re: How do I stop a macro without a Pause button ?

    Each of these resources speaks to the practice of ONKEY code. In essence, via VBA assign a macro to perform
    an action when certain key (or keys) are pressed.

    These sites should give you sufficient info to create your own ONKEY ...



    https://msdn.microsoft.com/en-us/lib.../ff197461.aspx

    http://www.rondebruin.nl/win/s4/win012.htm

    https://www.youtube.com/watch?v=MbHYJOvdv8s

    http://superuser.com/questions/61414...y-in-excel-vba


    Also: depending on your existing macro code ... it may be possible to add additional coding that would pause it .

  3. #3
    Forum Expert
    Join Date
    02-14-2009
    Location
    .
    MS-Off Ver
    ................
    Posts
    2,840

    Re: How do I stop a macro without a Pause button ?

    There should be a Pause key. You'll probably find it printed faintly on the right hand shift key.

    If so Ctrl + (maybe an)Alt + Fn + Pause/RH Shift might work but the key mappings are not consistent. In any cause it Wilkinson be necessary to use the Fn key to get the Pause function.
    Last edited by cytop; 03-04-2017 at 02:08 PM. Reason: Wilkinson? Bloody predictive text... WILL

  4. #4
    Registered User
    Join Date
    03-02-2017
    Location
    France
    MS-Off Ver
    2002
    Posts
    2

    Re: How do I stop a macro without a Pause button ?

    Thanks guys. Sorry I'm only replying now.

    Quote Originally Posted by cytop View Post
    There should be a Pause key. You'll probably find it printed faintly on the right hand shift key.

    If so Ctrl + (maybe an)Alt + Fn + Pause/RH Shift might work but the key mappings are not consistent. In any cause it should be necessary to use the Fn key to get the Pause function.
    Oh my god, you are saving my life here! Fn+Pause had never worked, but Ctrl+Fn+Pause does! I wish I had known this much earlier! No more crashing Word / step-by-step / too-short loops for me! :D

    Thanks a lot.<3

+ 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. [SOLVED] Is it possible to pause a macro with a button on the worksheet?
    By Mr.GfCs in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 05-05-2015, 07:48 PM
  2. Pause Macro Execution without using "Stop"
    By shawnvw in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-03-2014, 12:47 PM
  3. Play Stop and Pause Button
    By Stanley91 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-18-2014, 12:03 PM
  4. Replies: 0
    Last Post: 06-24-2013, 04:24 PM
  5. button to break/stop/pause all macros
    By alexandruc in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-29-2009, 09:40 AM
  6. Abort button for a macro(not the break key) and pause/resume button
    By c.vaibhav in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 05-21-2009, 04:22 AM
  7. Excel 2007 : Macro pause button
    By Terri_Galloway in forum Excel General
    Replies: 2
    Last Post: 02-11-2009, 12:45 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