+ Reply to Thread
Results 1 to 3 of 3

Copy only Columns where Row 21= "X"

  1. #1
    Registered User
    Join Date
    07-11-2012
    Location
    Utah
    MS-Off Ver
    Excel 2007
    Posts
    74

    Copy only Columns where Row 21= "X"

    Please Login or Register  to view this content.
    I have this code which is great for transposing all data I need from one book to another.
    I need to do this same action, but only copy those columns that row 21 has X in it. Any suggestions?

  2. #2
    Forum Contributor thameem127's Avatar
    Join Date
    04-06-2012
    Location
    Jeddah,Saudi Arabia
    MS-Off Ver
    Excel 2003,Excel 2007
    Posts
    321

    Re: Copy only Columns where Row 21= "X"

    Hi gherzberg,



    Try this code. You need two open both attachment in order to run this macro
    Please Login or Register  to view this content.
    Attached Files Attached Files
    Last edited by thameem127; 08-29-2012 at 05:56 PM.

  3. #3
    Registered User
    Join Date
    07-11-2012
    Location
    Utah
    MS-Off Ver
    Excel 2007
    Posts
    74

    Re: Copy only Columns where Row 21= "X"

    That worked but if I have columns b through z filled and only one has x it will copy all columns. I need something that will only copy any column if that column contains X.

    Thanks

+ 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