• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 394
  • Last Modified:

EXcel VBA - Merging data using pivot tables examples

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
Murray Brown
Asked:
Murray Brown
1 Solution
 
nutschCommented:
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
 
Murray BrownMicrosoft Cloud Azure/Excel Solution DeveloperAuthor Commented:
Thanks very much
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

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.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now