+ Reply to Thread
Results 1 to 5 of 5

Copy filtered column of ListObject to another ListObject

  1. #1
    Forum Contributor
    Join Date
    10-08-2012
    Location
    San Clemente, California
    MS-Off Ver
    Office365
    Posts
    383

    Copy filtered column of ListObject to another ListObject

    Hi,

    I have two tables (ListObjects), each on a different worksheet of the same workbook. I have filtered ListObject1 and now want to copy the data in Column E to ListObject2, Column A. ListObject2 has only the header row, no data.

    Bump: I am attaching a spreadsheet to better illustrate.

    I have tried all sorts of solutions but nothing seems to work. Your assistance would be most appreciated.

    tom
    Attached Files Attached Files
    Last edited by snapfade; 09-15-2016 at 03:17 PM.

  2. #2
    Forum Expert
    Join Date
    08-28-2014
    Location
    Texas, USA
    MS-Off Ver
    2016
    Posts
    1,796

    Re: Copy filtered column of ListObject to another ListObject

    You said copy column E, but your sample shows column F. Assumed the latter.

    Please Login or Register  to view this content.
    I'm interested in starting a career working with VBA, if anyone knows of any opportunities!

  3. #3
    Forum Contributor
    Join Date
    10-08-2012
    Location
    San Clemente, California
    MS-Off Ver
    Office365
    Posts
    383

    Re: Copy filtered column of ListObject to another ListObject

    Hi Walruseggman,

    Thanks for posting. I tried your code, customized to my app and got Application-defined or object-defined error. Here's the exact code:

    Please Login or Register  to view this content.
    Did I do something wrong?

  4. #4
    Forum Expert
    Join Date
    08-28-2014
    Location
    Texas, USA
    MS-Off Ver
    2016
    Posts
    1,796

    Re: Copy filtered column of ListObject to another ListObject

    If your tables are on different sheets you need to reference them like


    Please Login or Register  to view this content.

  5. #5
    Forum Contributor
    Join Date
    10-08-2012
    Location
    San Clemente, California
    MS-Off Ver
    Office365
    Posts
    383

    Re: Copy filtered column of ListObject to another ListObject

    Wow! Worked like a charm! I shoulda posted here a few hours earlier.

    Thanks ever so much, Walruseggman.

    tom

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Rearrange Table Column (i.e. ListObject.ListColumns...)
    By kestefon in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-03-2018, 10:09 AM
  2. [SOLVED] Get Visible range from UDF passed filtered Listobject columns as argument
    By junoon in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 03-25-2016, 10:58 PM
  3. Looping thru a filtered Listobject
    By YogiRock in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-26-2014, 01:46 PM
  4. ListObject Total Each Column
    By goss in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-19-2013, 01:59 AM
  5. Use of ListObject
    By j_Southern in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 03-04-2013, 03:29 PM
  6. ListObject
    By costadina in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-24-2009, 08:20 PM
  7. ListObject Name ?
    By rvExcelNewTip in forum Excel General
    Replies: 10
    Last Post: 01-22-2007, 11:29 AM

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