+ Reply to Thread
Results 1 to 6 of 6

Blank rows in-between rows that are imported from one sheets based on conditions being met

  1. #1
    Registered User
    Join Date
    12-10-2018
    Location
    Oregon, United States
    MS-Off Ver
    Excel 2016
    Posts
    3

    Blank rows in-between rows that are imported from one sheets based on conditions being met

    I have a script that goes through the three ranges on a sheet that is a master list of all transactions/order histories.


    Please Login or Register  to view this content.
    When the conditions are met, I want the script to copy those cell values to a specific sheet and add them to that sheet in order with out any spaces between

    Currently, the script works perfectly besides if the conditions aren't met then it skips a row, i am looking for how to have no empty rows between the copied data.

    Screen Shot 2018-12-10 at 11.20.06 AM.png

    Thank you for any help in advance
    Last edited by jeffreybrown; 12-10-2018 at 05:14 PM. Reason: Please use code tags!

  2. #2
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,481

    Re: Blank rows in-between rows that are imported from one sheets based on conditions being

    Count the rows before you send the data there.
    Please Login or Register  to view this content.
    Last edited by davesexcel; 12-10-2018 at 08:32 PM.

  3. #3
    Registered User
    Join Date
    12-10-2018
    Location
    Oregon, United States
    MS-Off Ver
    Excel 2016
    Posts
    3

    Re: Blank rows in-between rows that are imported from one sheets based on conditions being

    I will give that a try, thank you!!

  4. #4
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,316

    Re: Blank rows in-between rows that are imported from one sheets based on conditions being

    Administrative Note:
    HTH
    Regards, Jeff

  5. #5
    Registered User
    Join Date
    12-10-2018
    Location
    Oregon, United States
    MS-Off Ver
    Excel 2016
    Posts
    3

    Re: Blank rows in-between rows that are imported from one sheets based on conditions being

    Im getting a compile error, Else without IF

  6. #6
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,481

    Re: Blank rows in-between rows that are imported from one sheets based on conditions being

    Edited code

+ 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. Replies: 7
    Last Post: 08-29-2018, 04:57 AM
  2. Replies: 11
    Last Post: 07-30-2015, 12:35 PM
  3. [SOLVED] Copy Past cut rows based on conditions to different sheets
    By moonbreakker in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 07-29-2015, 08:55 AM
  4. append file name to all rows in last column for each of imported rows
    By gutterball in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-25-2015, 03:55 AM
  5. Replies: 8
    Last Post: 07-09-2014, 10:42 PM
  6. [SOLVED] Copy multiple rows from different sheets given two conditions to a new workbook
    By testingandroid in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-29-2012, 04:38 AM
  7. Auto Populating Rows on Separate Sheets with Conditions
    By johnsond1021 in forum Excel General
    Replies: 1
    Last Post: 11-17-2011, 01:58 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