+ Reply to Thread
Results 1 to 6 of 6

Copy selected cells from a range of worksheets and paste in master table

Hybrid View

  1. #1
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Copy selected cells from a range of worksheets and paste in master table

    Couple of questions -

    In the final version of this workbook I want to hide the sheet called "Master Table" but copy the entire table onto the sheets called "Basket 1" "Basket 2" and "Basket 3" which will have tables with filters on them.
    Will these Basket sheets have data already in them?

    Should the data be duplicated into these 3 sheets? What about the filters? Will you be applying them yourself after the macro runs or do you want the macro to put them in for you?

    The idea behind the macro is that every time a new sheet is added or an old one amended the information can be automatically put in the master, but actually be displayed in the "basket" sheet where it meets the filtering criteria.
    Do you want the master sheet to be cleared before putting in fresh data each time you run the macro?
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

  2. #2
    Registered User
    Join Date
    08-14-2012
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Copy selected cells from a range of worksheets and paste in master table

    The answer to all those questions is yes.

    If the master table can be cleared everytime and re filled with all new information that would be great (but maybe make the code quite slow?)
    The baskets (like the master table) could also be empied and all the values from the master sheet duplicated into each one, that would also be great.

    If we can include the filters to be applied to the baskets in the code that would be fantastic, the only problem here is that those might change. i.e at the moment I might want basket 1 to 'show all the entrys in that have value a greater than 5 in column A', but that might change to 'show all the entrys with values greater than 7 in column A and values less than 2 in column B'....so it might be best to leave that to be applied manually each time unless there is a way to for the code to chose its filter values from a range cells on each baskets sheet that could be changed. Something like

    set column filter for (Coloumn A, Sheet "Basket !") to be greater than value in Range ("G1") of sheet("basket 1")

    and then have a table on each sheet where the values can be added....

    thanks again

+ 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