C
cgh91b30
I have an access db and need to dynamically set the pivottable datarang
dynamically I can't get it to work, any ideas?
'excel objects
Dim mysheet As Object, indexsheet As Object, myfield As Variant, xlap
As Object
Set xlapp = CreateObject("Excel.Application")
Set mysheet
xlapp.Workbooks.Open("c:\data\ConfigData\template\New_Scorecard_template.xls").sheets(7)
Here is the range in static format accessed in the xls.
'Open Orders Pvt Tbl'!$B$21
Need to make the $Bxx dynamic
Chri
dynamically I can't get it to work, any ideas?
'excel objects
Dim mysheet As Object, indexsheet As Object, myfield As Variant, xlap
As Object
Set xlapp = CreateObject("Excel.Application")
Set mysheet
xlapp.Workbooks.Open("c:\data\ConfigData\template\New_Scorecard_template.xls").sheets(7)
Here is the range in static format accessed in the xls.
'Open Orders Pvt Tbl'!$B$21
Need to make the $Bxx dynamic
Chri