+ Reply to Thread
Results 1 to 3 of 3

Conditional Move Between Worksheets

  1. #1
    Registered User
    Join Date
    06-09-2010
    Location
    Tunbridge Wells, England
    MS-Off Ver
    Excel 2003
    Posts
    1

    Conditional Move Between Worksheets

    Hi,

    I am a novice with VBA and need to copy & paste rows from one sheet (Live) to another (Closed) depending on the condition that the value in column D is "Closed".

    I have tried a few suggestions posted online but whenever I run them it only keeps the last entry and over-writes any previous data on the Closed sheet, whilst I need to retain all data.

    I also need this to loop to check for multiple entries and move accordingly.

    Just to complicate matters I have to keep the formulae in columns G & H of the Live sheet, so cannot simpy cut them across, which I assume would have been easier(?).

    I've inlcuded a basic version of the sheet with a few examples which may show what I'm trying to achieve.

    I am losing my mind trying to find a solution to this, so any help would be great!

    Thanks!
    John.
    Attached Files Attached Files

  2. #2
    Forum Expert Simon Lloyd's Avatar
    Join Date
    03-02-2004
    Location
    locked in the cage
    MS-Off Ver
    All the ones my homepage shows
    Posts
    3,161

    Re: Conditional Move Between Worksheets

    This little bit of VBA should do what you need:
    Please Login or Register  to view this content.
    Not all forums are the same - seek and you shall find

  3. #3
    Registered User
    Join Date
    05-13-2010
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003
    Posts
    35

    Lightbulb Re: Conditional Move Between Worksheets

    Dear jonnyseaweed,

    best way to learn VBA is, record the macro for the activity what you want to do, for example, u wanted to copy a row from one sheet to another. record that..

    then analyze the code and modify as required..

+ 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