Avatar of hindersaliva
hindersaliva
Flag for United Kingdom of Great Britain and Northern Ireland asked on

Excel 2010 - Pivot Table from a Recordset

I can get my PivotTable data into a recordset from an external database. OK.

I'm looking for the minimal code required to create a PivotTable with this data.
Say, on "Sheet1", at "A1", with Page Fields "CustomerType" and "Country", Row Field "Customer", Values "Count of Shops".

Thanks.

(I tried recording a macro but translating it to datasource = recordset is where I'm stuck)
Microsoft ExcelVBAMicrosoft Office

Avatar of undefined
Last Comment
Shums Faruk

8/22/2022 - Mon
Shums Faruk

Hi,

It would be helpful if you provide sample workbook.
ASKER CERTIFIED SOLUTION
Shums Faruk

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Shums Faruk

No comment has been added to this question in more than 14 days, so it is now classified as abandoned.

I have recommended this question be closed considering ID: 42068362 as best solution

If you feel this question should be closed differently, post an objection and a moderator will read all objections and then close it as they feel fit. If no one objects, this question will be closed automatically the way described above.
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy