+ Reply to Thread
Results 1 to 2 of 2

Copy and pasta data but needs to filter through the column first

  1. #1
    Registered User
    Join Date
    07-21-2016
    Location
    ireland
    MS-Off Ver
    Office 2013
    Posts
    22

    Copy and pasta data but needs to filter through the column first

    Hi Guys,

    I need to copy Column G in sheetAD ,in workbook1 to Column A in sheet1 in workbook2, but column G is a column that describes a department e.g packaging, cleaning, boxing ect.
    This column also has a filter so you can choose to view the details of just one department.
    I want to filter so i only see the details of packaging.
    This then shows the relevant information in column AR that i wish to copy and paste into workbook2.
    Column AR contains the hours worked by the packaging department, once I paste this data into Workbook2 , I want to get the sum of the total hours.

    Each time this macro is run (once a day) I want the previous days data to be cleared and replaced with the new updated data.
    I would like the macro to be in the destination workbook not the workbook that contains the data.

    Thank you in advance, if possible could you guys put in small comments so i can learn and understand the code you suggest please

  2. #2
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,957

    Re: Copy and pasta data but needs to filter through the column first

    If you can attach the sample workbooks without sensitive data we might be able to help you out.
    One spreadsheet to rule them all. One spreadsheet to find them. One spreadsheet to bring them all and at corporate, bind them.

    A picture is worth a thousand words, but a sample spreadsheet is more likely to be worked on.

+ 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: 09-15-2015, 04:12 AM
  2. Replies: 0
    Last Post: 10-10-2014, 02:02 PM
  3. [SOLVED] vba help needed to filter data then copy to another sheet by matching column header
    By krjoshi in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-13-2014, 01:52 PM
  4. Copy and pasta into the next empty column
    By ConfusedaboutVBA in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 01-03-2013, 12:28 AM
  5. Replies: 1
    Last Post: 11-16-2012, 05:05 PM
  6. Replies: 5
    Last Post: 05-23-2012, 10:33 AM
  7. Macro to copy and paste special values for column data and filter column data
    By ascottbag in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 03-10-2012, 02:15 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