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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top