+ Reply to Thread
Results 1 to 2 of 2

Conditionally copy selected cells in rows depending on cell contents.

  1. #1
    Registered User
    Join Date
    07-11-2011
    Location
    Brisbane
    MS-Off Ver
    Excel 2003
    Posts
    1

    Conditionally copy selected cells in rows depending on cell contents.

    Hello All,

    Running into some problems with Excel. My understanding of Macros is quite basic, but can read code at a basic level.

    This document is pulling information from multiple (10-15) workbooks that contain all scheduling data for an event, and compiling just the Transport information. All current schedules are formatted the same, so the macro shouldn't need to change for each workbook.

    What I'm trying to do is copy the contents from specific cells in a row, to a new workbook, only if a cell in column F contains "GT". And then re-arrange the order of the rows in the new workbook.

    i.e. If Cell F24 contained "GT", then Copy C24(Date) to the next fully available row in A column in the new workbook, then copy D24(Start Time) to the same row that C24 went into, however this time in B column. Then copy E24(End Time) to the same row that C24 went into, however this time in C column.

    And so on and so forth, until there is no more data to read in each file.

    Any help that you could send my way would be greatly appreciated.

    Thanks in advance,
    Dan.

  2. #2
    Forum Expert Palmetto's Avatar
    Join Date
    04-04-2007
    Location
    South Eastern, USA
    MS-Off Ver
    XP, 2007, 2010
    Posts
    3,978

    Re: Conditionally copy selected cells in rows depending on cell contents.

    Cross posted: http://www.ozgrid.com/forum/showthread.php?t=155745
    Palmetto

    Do you know . . . ?

    You can leave feedback and add to the reputation of all who contributed a helpful response to your solution by clicking the star icon located at the left in one of their post in this thread.

+ 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