+ Reply to Thread
Results 1 to 5 of 5

Copy Rows - Paste and remove blanks

  1. #1
    Registered User
    Join Date
    08-19-2012
    Location
    London, England
    MS-Off Ver
    Excel 2016 in Win 10
    Posts
    97

    Copy Rows - Paste and remove blanks

    What I need is a macro that will look for the name Sheet 4 cell c6 from the names in Sheet 3 and when it finds the name, copies the row, pastes as text and then removes the blank cells and the date above the blank cell so that it shows only the dates with H in them and the date above it

    I have attached the book I am using to try out this

    This is driving me nuts so any help here would be greatly appreciated
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    07-15-2012
    Location
    Leghorn, Italy
    MS-Off Ver
    Excel 2010
    Posts
    3,431

    Re: Copy Rows - Paste and remove blanks

    It's not clear for me
    If solved remember to mark Thread as solved

  3. #3
    Forum Guru
    Join Date
    11-29-2010
    Location
    Ukraine
    MS-Off Ver
    Excel 2019
    Posts
    4,168

    Re: Copy Rows - Paste and remove blanks

    hi tigerdel, option, please check attachment if I understood your requirement correctly
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    08-19-2012
    Location
    London, England
    MS-Off Ver
    Excel 2016 in Win 10
    Posts
    97

    Re: Copy Rows - Paste and remove blanks

    Thanks everyone

    I have a working code now but I have just found out that I need 2 criteris to be searched for "HD" & "H"

    I have copied the below if anyone can help

    Please Login or Register  to view this content.

  5. #5
    Forum Contributor
    Join Date
    08-22-2012
    Location
    nj, us
    MS-Off Ver
    Excel 2010
    Posts
    163

    Re: Copy Rows - Paste and remove blanks

    Quote Originally Posted by tigerdel View Post
    Thanks everyone

    I have a working code now but I have just found out that I need 2 criteris to be searched for "HD" & "H"

    I have copied the below if anyone can help

    Please Login or Register  to view this content.
    it's supposed to be:
    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