+ Reply to Thread
Results 1 to 6 of 6

VBA Code is stopped working?

  1. #1
    Registered User
    Join Date
    03-13-2016
    Location
    Yemen
    MS-Off Ver
    2016
    Posts
    59

    VBA Code is stopped working?

    Hello All

    Many thanks for all people standing here for help and support

    personally I learned allot form this forum in short time and I still

    In my excel sheet I have below code:

    Please Login or Register  to view this content.

    And it is working great but when I add another code it stopped working I don't know what is the problem?

    Please Login or Register  to view this content.
    can any body help

    Thanks
    Last edited by stoicy; 03-28-2016 at 05:50 PM.

  2. #2
    Registered User
    Join Date
    03-13-2016
    Location
    Yemen
    MS-Off Ver
    2016
    Posts
    59

    Re: VBA Code is stopped working?

    see attached
    Attached Files Attached Files

  3. #3
    Forum Expert
    Join Date
    04-01-2013
    Location
    East Auckland
    MS-Off Ver
    Excel 365
    Posts
    1,347

    Re: VBA Code is stopped working?

    I presume it is just hitting the exit sub when you don't actually want it to exit the sub. Instead you want it to goto another line or maybe just to do nothing.

  4. #4
    Registered User
    Join Date
    03-13-2016
    Location
    Yemen
    MS-Off Ver
    2016
    Posts
    59

    Re: VBA Code is stopped working?

    Any suggestion to solve it ?

  5. #5
    Forum Expert
    Join Date
    04-01-2013
    Location
    East Auckland
    MS-Off Ver
    Excel 365
    Posts
    1,347

    Re: VBA Code is stopped working?

    ok this is untested
    I just removed the exit subs and extended the if statements around the first macro.

    Please Login or Register  to view this content.

  6. #6
    Registered User
    Join Date
    03-13-2016
    Location
    Yemen
    MS-Off Ver
    2016
    Posts
    59

    Re: VBA Code is stopped working?

    Thank you scottiex

    it works with me

    appreciated your help and support

    thank you so much

+ 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] Combo Box Code Stopped Working
    By ker9 in forum Excel Programming / VBA / Macros
    Replies: 17
    Last Post: 05-07-2014, 01:20 PM
  2. [SOLVED] Why has my code stopped working?!
    By JamesFletcher in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 05-21-2013, 07:07 AM
  3. Code suddenly stopped working
    By bibleguy125 in forum Excel General
    Replies: 1
    Last Post: 02-15-2012, 01:00 PM
  4. Excel code stopped working
    By Jollyfrog in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 09-28-2010, 07:34 AM
  5. Excel 2007 : Macro Code Stopped Working
    By stevo_300 in forum Excel General
    Replies: 5
    Last Post: 04-06-2010, 07:57 AM
  6. Code stopped working
    By kinleyr in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-16-2010, 12:25 PM
  7. Code stopped working
    By chris46521 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-09-2006, 10:05 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