Effectively SkipVought, the memory leak issues arise because the workbook is opened. However, having the data in the same workbook as the related pivot tables makes thing so much easier for the different users of this file.
I have been using SQL on the active workbook to feed pivot tables for...
Well, thank you for the answer.
But nonetheless all "DAO versus ADO" discussions that I found on internet concludes that when the source database is MS Excel, DAO is 1) faster and 2) does not have the memory leak problem (Microsoft kb319998).
Yes DAO its older, but since DAO is apparently...
Hello,
I have the code below that is used to feed a pivot table cache with a DAO recordset. The code was from a similar macro used with ADO.
However the code fails at:
Set Workbooks(ActWbk).Worksheets(ActSht).Range("MainPivot").PivotTable.PivotCache.Recordset = DAOrs
Error is: Run-time...
Hello,
I have been searching for a way to get my expected results but with no luck so far.
Question: my LEFT JOIN operation can result more than one match but I only want the query to return the first matching instance (see sample below). Is that possible?
Table1
Field1 Field2
A D
B D
C...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.