+ Reply to Thread
Results 1 to 3 of 3

VBA to locate a column according to sheet name, then extract values into another worksheet

  1. #1
    Registered User
    Join Date
    05-31-2013
    Location
    England
    MS-Off Ver
    Excel 2003
    Posts
    83

    VBA to locate a column according to sheet name, then extract values into another worksheet

    I have a work book containing various tabs 2012, 2013, 2014........ I have another sheet that contains a table of data with column headers 2012, 2013, 2014........ I want a vba function to search through each column in turn and where values are greater than 0 copy that row into the associated sheet. so any values in column 2012 copy the rows to sheet 2012. im fiddling with the find function and looping through the sheets but not sure if I even need to be doing that or if I can just copy the data direct.

    Thanking you in advance

    Jim

  2. #2
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: VBA to locate a column according to sheet name, then extract values into another works

    You find quicker an better help on your question if you follow the advice in het link below.

    http://www.excelforum.com/the-water-...-question.html
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  3. #3
    Registered User
    Join Date
    05-31-2013
    Location
    England
    MS-Off Ver
    Excel 2003
    Posts
    83

    Re: VBA to locate a column according to sheet name, then extract values into another works

    I thought I would add a workbook as suggested. one thing to note is that rather than copy the entire row I would like to copy only certain values from the located row.

    Thnaks
    Attached Files Attached Files

+ 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. Replies: 2
    Last Post: 02-13-2013, 03:14 PM
  2. Replies: 6
    Last Post: 12-14-2012, 04:04 PM
  3. Replies: 2
    Last Post: 12-12-2012, 08:57 PM
  4. Replies: 1
    Last Post: 07-13-2012, 11:13 AM
  5. Need macro to locate non-zero, non-header column entries then copy to other sheet
    By Steve Rutkey in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-08-2011, 07:11 PM

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