A2003 - Problem with office web components 11

M

Max

Hi all,

I have Pivot Chart form.
On some form event (for example on double click) I put this code:

Dim o As ChartSpace
Set o = Me.ChartSpace

Reference to owc11.dll is established.
The error occures when code is executing: Run-time error '13' Type mismath.

When I set reference to owc10.dll there are no problem (but it's not right,
I use A2003).
When I use Variant type there is no error also, but unfortunately I Can't
use object browser and IntelliSense feature.

What's wrong?

Max
 
Top