+ Reply to Thread
Results 1 to 6 of 6

Moving Entire Rows

  1. #1
    Registered User
    Join Date
    10-16-2012
    Location
    Guelph, Canada
    MS-Off Ver
    Excel 2003
    Posts
    26

    Moving Entire Rows

    okay so I have this code:
    Please Login or Register  to view this content.
    This code looks at the first cell in a row, and if it contains "Call", it moves the word "Call" to anothr worsheet, then it moves to the next cell down and does the same thing. I need code that will check if the cell says "Call", but instead of just moving the word, it moves the entire row. Any ideas?

  2. #2
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,646

    Re: Moving Entire Rows

    You can try this but I think it might be slow.
    Please Login or Register  to view this content.
    This might be better.
    Please Login or Register  to view this content.
    What might be better than either of these is to only copy the columns with data.
    Please Login or Register  to view this content.

  3. #3
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: Moving Entire Rows

    Change this line

    Please Login or Register  to view this content.
    in to

    Please Login or Register  to view this content.

  4. #4
    Registered User
    Join Date
    10-16-2012
    Location
    Guelph, Canada
    MS-Off Ver
    Excel 2003
    Posts
    26

    Re: Moving Entire Rows

    Im not quite sure what you mean, Norie. Could you rewrite my code with you adjustments so i can see the entire thing?

  5. #5
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,646

    Re: Moving Entire Rows

    All you need to do is replace the line that's putting Call on the other sheet.

    Here's the code with the first suggestion in it.
    Please Login or Register  to view this content.

  6. #6
    Registered User
    Join Date
    10-16-2012
    Location
    Guelph, Canada
    MS-Off Ver
    Excel 2003
    Posts
    26

    Re: Moving Entire Rows

    Works :D thanks a lot

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

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