+ Reply to Thread
Results 1 to 4 of 4

Possible simple question about: If then else sequence.

  1. #1
    Forum Contributor
    Join Date
    02-05-2021
    Location
    Netherlands
    MS-Off Ver
    Microsoft Excel 365 (version 2022, Build 14931.20764)
    Posts
    180

    Possible simple question about: If then else sequence.

    Dear Excel specialist(s),

    I have a short question...
    The script below reads all workbooks in a worksheet (until the last filled row) and copies them in a Planning_Summary overview workbook.
    This works fine...

    But, I would like to copy and paste all rows until the text "End" is found in the first column (case insensitive) and then move on to the next workbook.
    Does anyone know, where to put that line of code (as easy as possible)? I don't know how to stop at this point (based on criteria).

    Thank you in advance!

    Please Login or Register  to view this content.

  2. #2
    Forum Contributor GWteB's Avatar
    Join Date
    12-13-2021
    Location
    GMT +1
    MS-Off Ver
    2013
    Posts
    136

    Re: Possible simple question about: If then else sequence.

    Feel like you're confusing workbooks and worksheets. Anyway, if I understand it all correctly, the code below will most likely do what you request.
    Please Login or Register  to view this content.
    Did this help? Say thanks by clicking the ★

  3. #3
    Forum Contributor
    Join Date
    02-05-2021
    Location
    Netherlands
    MS-Off Ver
    Microsoft Excel 365 (version 2022, Build 14931.20764)
    Posts
    180

    Re: Possible simple question about: If then else sequence.

    Hi GWteB,

    This was exactly what I was looking for. Thank you very much for you quick support (over the moon).
    Closing my request (as solved) and adding reputation

    Best regards,

    Hans

  4. #4
    Forum Contributor GWteB's Avatar
    Join Date
    12-13-2021
    Location
    GMT +1
    MS-Off Ver
    2013
    Posts
    136

    Re: Possible simple question about: If then else sequence.

    You're welcome Hans & thanks for posting back

+ 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] Formula question for multiple cell conditions in sequence
    By drgrnd in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-28-2022, 02:23 PM
  2. VBA Code Sequence Question
    By split_atom18 in forum Access Programming / VBA / Macros
    Replies: 4
    Last Post: 05-27-2010, 05:53 PM
  3. Simple Macro Sequence
    By alogoc in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-02-2009, 05:55 AM
  4. A simple question requiring a simple answer
    By Pedros in forum Excel General
    Replies: 3
    Last Post: 07-18-2006, 06:45 AM
  5. Simple Simple Excel usage question
    By BookerW in forum Excel General
    Replies: 1
    Last Post: 06-23-2005, 05:05 PM
  6. Sequence Question Again (Please Help)
    By Mr M Walker in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-02-2005, 04: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