+ Reply to Thread
Results 1 to 2 of 2

What is the equivalent of continue and break commands?

  1. #1
    Registered User
    Join Date
    12-30-2012
    Location
    los angeles
    MS-Off Ver
    Excel 2010
    Posts
    12

    What is the equivalent of continue and break commands?

    I read on Google something about goto and exit sub, but no explanation is given.

    Basically, I am asking what is the syntax to terminate a command and go to the next code line.

    My question is, how to erformed the following command in excel?

    Please Login or Register  to view this content.

  2. #2
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,721

    Re: What is the equivalent of continue and break commands?

    Your syntax looks like C. A break statement in C causes a loop to be terminated. Is this code supposed to be inside a loop? Maybe you need something like this:

    Please Login or Register  to view this content.
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

+ 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