+ Reply to Thread
Results 1 to 7 of 7

Automatically copying data from one sheet to another.

  1. #1
    Registered User
    Join Date
    12-01-2009
    Location
    Hawaii
    MS-Off Ver
    Excel 2010
    Posts
    30

    Automatically copying data from one sheet to another.

    I want to copy certain cells from multiple rows to a separate sheet, based on the data in one column.

    For example, from my Data Sheet, for all the rows that have "2013-10" in the ETF Monthly Report (column AC) column, i want select data copied to the ETF Report Sheet.

    I need to run this every month.

    A macro or something would be greatly appreciated.

    Thank you in advance.
    Attached Files Attached Files
    Last edited by scokaw; 10-17-2013 at 08:07 PM.

  2. #2
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: Automatically copying data from one sheet to another.

    Hi Scokaw,

    I assumed that you might have more than one ETF Report on a workbook:

    Please Login or Register  to view this content.
    If I've helped you, please consider adding to my reputation - just click on the liitle star at the left.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~(Pride has no aftertaste.)

    You can't do one thing. XLAdept

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~aka Orrin

  3. #3
    Registered User
    Join Date
    12-01-2009
    Location
    Hawaii
    MS-Off Ver
    Excel 2010
    Posts
    30

    Re: Automatically copying data from one sheet to another.

    This works perfectly. It's going to make my reporting sooooo much easier.

    Thank you very much.

  4. #4
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: Automatically copying data from one sheet to another.

    You're welcome!

  5. #5
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: Automatically copying data from one sheet to another.

    @ saidul - You are also welcome!

    @ scokaw - maybe you should comment out the do loop:
    Please Login or Register  to view this content.
    Since you probably don't want to append the successive run results.

  6. #6
    Forum Guru HaHoBe's Avatar
    Join Date
    02-19-2005
    Location
    Hamburg, Germany
    MS-Off Ver
    work: 2016 on Win10 (notebook), private: 2019 on Win10 (desktop), 2019 on Win11 (notebook)
    Posts
    8,197

    Re: Automatically copying data from one sheet to another.

    Hi, xladept,

    GoSub for me is a straight NoGO.

    Any special reason why you do not use either Autofilter or Advanced Filter but run a loop?

    Ciao,
    Holegr
    Use Code-Tags for showing your code: [code] Your Code here [/code]
    Please mark your question Solved if there has been offered a solution that works fine for you

  7. #7
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: Automatically copying data from one sheet to another.

    Hi Holger,

    I often use GoSub, I think it's totally appropriate in this case (a mapping) but I can't imagine how a filter could be utilized in this case. I considered an UDT but only in passing. Could you show me how a filter can be used for this program??

+ 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. Copying Data from one sheet to another automatically
    By patrickdjames in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-28-2013, 10:37 AM
  2. Replies: 0
    Last Post: 03-04-2013, 03:25 PM
  3. Automatically copying data to a second sheet
    By carslake in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-14-2013, 12:39 PM
  4. copying data automatically from one or more cells to another sheet
    By andylowny in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-13-2012, 05:29 AM
  5. Copying daily data to one sheet to another automatically
    By amqazi12 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-06-2012, 03:33 PM

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