Chihiro
Excel Ninja
This is sample for creating Pivot table from two tables with same dimensions using VBA.
Merging array is based on code I found at StackOverflow, few years back. Unfortunately, I forgot to write down the URL and am unable to find source for it. If anyone know the URL, let me know.
Reference to Microsoft ActiveX Data Objects Recordset x.0 Library is added to the project.
Read link below for additional steps you can use to fill Pivot Table.
https://msdn.microsoft.com/en-us/vba/excel-vba/articles/pivotcache-createpivottable-method-excel
Merging array is based on code I found at StackOverflow, few years back. Unfortunately, I forgot to write down the URL and am unable to find source for it. If anyone know the URL, let me know.
Reference to Microsoft ActiveX Data Objects Recordset x.0 Library is added to the project.
Read link below for additional steps you can use to fill Pivot Table.
https://msdn.microsoft.com/en-us/vba/excel-vba/articles/pivotcache-createpivottable-method-excel