?
Solved

EXcel VBA - Merging data using pivot tables examples

Posted on 2013-11-19
2
Medium Priority
?
389 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Excel can be a tricky bit of software to get your head around. Whilst you’ll be able to eventually get to grips with the basic understanding of how to get by, there are a few Excel tips that not everybody will even know about let alone know how to d…
This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.

649 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