+ Reply to Thread
Results 1 to 3 of 3

ignore the rows of data that do not meet criteria and then put next result on next row

  1. #1
    Forum Contributor
    Join Date
    01-06-2019
    Location
    Australia
    MS-Off Ver
    2019
    Posts
    167

    ignore the rows of data that do not meet criteria and then put next result on next row

    Hello I have a line of code

    Please Login or Register  to view this content.
    I want to do something like

    Please Login or Register  to view this content.
    however I get a error 424

    What i am trying to do is copy the data from .range("D" & r & ":J" & r).value there will be some gaps in the rows from this data as some will not meet the criteria

    On Sheet("Play") i want the data but without the blank rows. blank rows are the rows that the data does not match the criteria

    Is that possible ?


    Thank you or any help provided

  2. #2
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,062

    Re: ignore the rows of data that do not meet criteria and then put next result on next row

    Hello UltimateNeo,

    You said...
    What i am trying to do is copy the data from .range("D" & r & ":J" & r).value there will be some gaps in the rows from this data
    The variable "r" is the row in this range that spans columns "D:J". This is a single row with multiple columns. Did you mean gaps in the columns?
    Sincerely,
    Leith Ross

    Remember To Do the Following....

    1. Use code tags. Place [CODE] before the first line of code and [/CODE] after the last line of code.
    2. Thank those who have helped you by clicking the Star below the post.
    3. Please mark your post [SOLVED] if it has been answered satisfactorily.


    Old Scottish Proverb...
    Luathaid gu deanamh maille! (Rushing causes delays!)

  3. #3
    Forum Expert
    Join Date
    09-10-2017
    Location
    Chippenham
    MS-Off Ver
    365
    Posts
    5,615

    Re: ignore the rows of data that do not meet criteria and then put next result on next row

    Is this what you wanted?
    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)

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