+ Reply to Thread
Results 1 to 2 of 2

How to make PivotTables from data in one workbok and present it in another

  1. #1
    Registered User
    Join Date
    02-06-2012
    Location
    Warsaw, Poland
    MS-Off Ver
    Excel 2007
    Posts
    1

    How to make PivotTables from data in one workbok and present it in another

    Hi,

    I have this problem, sorry for bad English.

    In one file there are data from which I want to have pivot table presented in another workbook. It should work like this:

    Macro asks where is workbook from which pivot table will be created, what is the name of worksheet, than makes a pivot table from data from that worksheet (but the headings are in row 4) and paste it into source workbook (from which I stared a macro, in defined worksheet). Data for pivot table may have different number of rows, but the same number of columns.

    Another thing is how to set up a pivot table the way I need using macros, cos it will be nice to have not one pivot table but different couple of them (which presents data differently).

    Apart from that I need to copy the name of the source file, from which the data are taken into destination workbook, but different sheet from the one that pivot table are created? Lets say that the sheet is called "INFO" and the file name should be stored in A1 cell. And of course all of that in one macro.

    I would appreciate any help!!

    Jarek
    Last edited by acidtest; 02-06-2012 at 05:58 PM.

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

    Re: How to make PivotTables from data in one workbok and present it in another

    It will be good if you attach a sample workbook with dummy data and also the structure of the pivot(s) that you need.
    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]

+ 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