?
Solved

EXcel VBA - Merging data using pivot tables examples

Posted on 2013-11-19
2
Medium Priority
?
382 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:Murray Brown
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 39

Accepted Solution

by:
nutsch earned 2000 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:Murray Brown
ID: 39673976
Thanks very much
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

Question has a verified solution.

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

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 article describes a serious pitfall that can happen when deleting shapes using VBA.
This Micro Tutorial will demonstrate on a Mac how to change the sort order for chart legend values and decrpyt the intimidating chart menu.
This Micro Tutorial will demonstrate in Microsoft Excel how to add style and sexy appeal to horizontal bar charts.

762 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