Results 1 to 6 of 6

Macro to scan column and copy corresponding cell

Threaded View

RobbieMoulton Macro to scan column and copy... 06-26-2011, 06:15 PM
JBeaucaire Re: Macro to scan column and... 06-26-2011, 06:31 PM
RobbieMoulton Re: Macro to scan column and... 06-26-2011, 06:37 PM
JBeaucaire Re: Macro to scan column and... 06-26-2011, 08:24 PM
RobbieMoulton Re: Macro to scan column and... 06-26-2011, 08:46 PM
JBeaucaire Re: Macro to scan column and... 06-27-2011, 12:12 AM
  1. #1
    Registered User
    Join Date
    06-26-2011
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2007
    Posts
    11

    Macro to scan column and copy corresponding cell

    Hi,

    I'm trying to write a macro that scans a column in a worksheet, and if it finds a cell that meets a certain criteria, it pulls a cell from a different column (but the same row) into a different worksheet.

    To simplify it:
    I need a macro to scan the entire Column C on 'Sheet1' for a cell that has the value '1'. If it finds a cell with this value, it copies the value from the same row in Column A and pastes it in the last active cell in 'Sheet2'. The macro then continues down Column C in 'Sheet1' searching for the next cell with the value '1' to copy the corresponding value in Column A into the next row in 'Sheet2', etc...

    If someone could help me with this, it would be much appreciated.
    Thanks.
    Last edited by RobbieMoulton; 06-27-2011 at 12:34 AM.

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