M
Mark Burns
OK, I have an Access2003-format .MDB open in Access 2003.
The references are set so that OWC11.dll is referenced, and OWC10.dll is NOT
referenced.
OWC11.dll is the Office Web Components for Office 2003.
OWC10.dll is the Office XP Web Components.
Create a form, open it in pivottable view (doesn't matter if the form's
pivottabel has been set up or not)
Form_Open()
dim oPT as OWC11.PivotTable
set oPT = me.PivotTable <== *Thud* with a VBA Type Error (5). ???
End Sub
If you replace the OWC11.PivotTabvle with OWC10.PivotTable (*after including
the appropriate OWC10.dll reference in the VBA References list *), the above
code just runs. . . . ...????!!!
OK...<NOT!>
*WHY* is Access *2003* returning an Office XP Web Components (OWC10)
PivotTable Object regardless of which version of the Office Web Components is
referenced??
....and how the heck are we supposed to distribute .mdb databases for use
possibly on computers that have never had Office XP installed (and presumably
thus won't have the OWC10.dll on the machine)??? (and don't tell me I need to
create an installer!)
The references are set so that OWC11.dll is referenced, and OWC10.dll is NOT
referenced.
OWC11.dll is the Office Web Components for Office 2003.
OWC10.dll is the Office XP Web Components.
Create a form, open it in pivottable view (doesn't matter if the form's
pivottabel has been set up or not)
Form_Open()
dim oPT as OWC11.PivotTable
set oPT = me.PivotTable <== *Thud* with a VBA Type Error (5). ???
End Sub
If you replace the OWC11.PivotTabvle with OWC10.PivotTable (*after including
the appropriate OWC10.dll reference in the VBA References list *), the above
code just runs. . . . ...????!!!
OK...<NOT!>
*WHY* is Access *2003* returning an Office XP Web Components (OWC10)
PivotTable Object regardless of which version of the Office Web Components is
referenced??
....and how the heck are we supposed to distribute .mdb databases for use
possibly on computers that have never had Office XP installed (and presumably
thus won't have the OWC10.dll on the machine)??? (and don't tell me I need to
create an installer!)