Pivot table works in 9 but not 11

M

Martin Waller

Hello,

The following code:

Call DSC.RecordsetDefs.AddNew("http://imglt9/smartanalysis" +
"/GetData2.asp", DSC.Constants.dscCommandFile, "Data")
Set PT.DataSource = DSC
PT.DataMember = "Data"
PT.AutoFit = False
Call PT.ActiveView.AutoLayout

works fine in OWC 9 but fails on the last statement in OWC 11 with a method
autolayout failed error message.

Does anyone have any idea why ?

Many thanks...

Martin
 
Top