Solved

EXcel VBA - Merging data using pivot tables examples

Posted on 2013-11-19
2
348 Views
Last Modified: 2013-11-25
Hi

Does anyone know of any good links on using Excel VBA code to automate the merging of data as a pivot table would do?
0
Comment
Question by:murbro
2 Comments
 
LVL 39

Accepted Solution

by:
nutsch earned 500 total points
ID: 39663361
The advantage of the pivot table is that it's built-in and fast. I'd start by recording a macro where I build a pivot table to my specs, then copy / paste values and reformat as needed.
Another option is to look at Microsoft Query to reproduce some of the pivot analysis through SQL. In my experience, it's a little more complex in VBA as the Microsoft query refers to a specific workbook path and worksheet.

Thomas
0
 

Author Closing Comment

by:murbro
ID: 39673976
Thanks very much
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Workbook link problems after copying tabs to a new workbook? David Miller (dlmille) Intro Have you either copied sheets to a new workbook, and after having saved and opened that workbook, you find that there are links back to the original sou…
When you see single cell contains number and text, and you have to get any date out of it seems like cracking our heads.
This Micro Tutorial will demonstrate how to use longer labels with horizontal bar charts instead of the vertical column chart.
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question