Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I am able to copy the records of a table to a recordset...see below
know I'm wondering how i can up that in a pivot table? I've only written code when the data resides in an excel sheet Thank you this is my code to get the dataset from Access... Sub GetAccessData() Dim sh As Worksheet Set sh = Sheets("Sheet2") Dim MyConnect As String Dim MyRecordset As ADODB.Recordset MyConnect = "Provider=Microsoft.ACE.OlEDB.12.0;" & _ "Data Source = C:\Dans_DB.accdb" Set MyRecordset = New ADODB.Recordset MyRecordset.Open "DMA", MyConnect, adOpenStatic, adLockReadOnly |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Pivot table - How To Obtain a External data Source?? | Excel Programming | |||
Selected Columns to be Used in External Data Source in Pivot Table | Excel Discussion (Misc queries) | |||
DATE FORMAT IN PIVOT TABLE FROM EXTERNAL DATA SOURCE | Excel Discussion (Misc queries) | |||
Pivot Table Data Source external excel file | Excel Discussion (Misc queries) | |||
Pivot and changing External data source | Excel Discussion (Misc queries) |