+ Reply to Thread
Results 1 to 6 of 6

How do I stop a Macro after "Cancel" is chosen in an input box?

  1. #1
    Registered User
    Join Date
    07-19-2006
    Location
    Jamaica
    Posts
    86

    How do I stop a Macro after "Cancel" is chosen in an input box?

    I have the following code:

    Please Login or Register  to view this content.
    If I press cancel in the first Msg I can't stop the entire rutine. How do I do that?

    /Møller
    --
    M?ller

  2. #2
    Registered User
    Join Date
    11-16-2006
    Posts
    80
    Hi, try:

    Please Login or Register  to view this content.
    HTH,

    mccreaso

  3. #3
    Registered User
    Join Date
    11-16-2006
    Posts
    80
    Quote Originally Posted by mccreaso
    Hi, try:

    Please Login or Register  to view this content.
    HTH,

    mccreaso

    Correction:

    Please Login or Register  to view this content.

  4. #4
    Forum Contributor stevebriz's Avatar
    Join Date
    09-07-2006
    Location
    Santiago Chile
    Posts
    389
    Another Example:

    Please Login or Register  to view this content.
    VBA - The Power Behind the Grid

    Posting a sample of your workbook makes it easier to look at the Issue.

  5. #5
    Registered User
    Join Date
    07-19-2006
    Location
    Jamaica
    Posts
    86
    Perfect - it works, but why? Whats the difference?

    /Møller

  6. #6
    Forum Contributor stevebriz's Avatar
    Join Date
    09-07-2006
    Location
    Santiago Chile
    Posts
    389
    have a read of this:
    This explains why.

    http://support.microsoft.com/kb/142141

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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