+ Reply to Thread
Results 1 to 6 of 6

How to activate message box to continue the macro.

  1. #1
    Forum Contributor
    Join Date
    03-25-2011
    Location
    London, England
    MS-Off Ver
    office 2021
    Posts
    318

    How to activate message box to continue the macro.

    Hi Guys

    I have found this macro to add null into blanks in my VBA but if there are no blanks the message box pops up to say so and clicking OK makes it go away but the remainder of my macro does not run. If i have a blank then it runs fine.

    Here in the code:

    Please Login or Register  to view this content.
    Love to solve these small issues but i have labored for hours looking for the solution.

    Mark

  2. #2
    Forum Expert
    Join Date
    11-28-2012
    Location
    Guatemala
    MS-Off Ver
    Excel 2010
    Posts
    2,394

    Re: How to activate message box to continue the macro.

    The resume next statement will just do that. and the next statement is the end of sub . Change the return back to the active section

  3. #3
    Forum Contributor
    Join Date
    03-25-2011
    Location
    London, England
    MS-Off Ver
    office 2021
    Posts
    318

    Re: How to activate message box to continue the macro.

    Hi Thanks for this. Must be one of the stupidest questions I have ever asked.
    Wow you are miles away. I am in London.
    Mark

  4. #4
    Forum Expert
    Join Date
    11-28-2012
    Location
    Guatemala
    MS-Off Ver
    Excel 2010
    Posts
    2,394

    Re: How to activate message box to continue the macro.

    There are no stupid questions. All answer will enhance our knowledge and widen our grip on things.
    You are welcome. Any time.

  5. #5
    Forum Contributor
    Join Date
    03-25-2011
    Location
    London, England
    MS-Off Ver
    office 2021
    Posts
    318

    Re: How to activate message box to continue the macro.

    Hi RCM
    The above is great but my need has changed. How could I write it to enter the value of the cell above if it is null.

    Not sure if you will get this .

    Mark

  6. #6
    Forum Contributor
    Join Date
    03-25-2011
    Location
    London, England
    MS-Off Ver
    office 2021
    Posts
    318

    Re: How to activate message box to continue the macro.

    Using your clear explanation i go

    Please Login or Register  to view this content.

+ 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] pause macro and show message box to click on it to continue
    By Megatronixs in forum Excel Programming / VBA / Macros
    Replies: 18
    Last Post: 03-26-2014, 04:49 PM
  2. [SOLVED] Message Box: Continue with Macro or cancel process
    By Student1990 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-11-2013, 03:03 PM
  3. Excel 2007 : Continue Y/N message box
    By Gary Evans in forum Excel General
    Replies: 1
    Last Post: 12-17-2011, 10:19 PM
  4. Message Box Prompt. Continue Or Cancel
    By ashleys.nl in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-12-2011, 02:30 PM
  5. [SOLVED] Macro Pause, show message, continue
    By davegb in forum Excel General
    Replies: 3
    Last Post: 02-11-2005, 01:06 PM

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