Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Excel Pivot Table Wizard
Message
From
09/10/2003 09:10:06
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Excel Pivot Table Wizard
Miscellaneous
Thread ID:
00836785
Message ID:
00836785
Views:
64
Hi,

how does one go about bringing up the pivot table wizard with non default properties already setup?
#DEFINE xlDialogPivotTableWizard   312

oXL = CREATEOBJECT("Excel.Application")
oWB = oXL.Workbooks.add()
oSheet = oWB.ActiveSheet
oxl.Visible= .T.

oxl.Dialogs(xlDialogPivotTableWizard).Show()
this bring the default Wizard but apparently you could pass the show method a few parameters, which I'm unable to do - anyone with hints or code sample perhaps?

From MS Site - xlDialogPivotTableWizard type, source, destination, name, row_grand, col_grand, save_data, apply_auto_format, auto_page, reserved

So it looks like it's feasable, just don't know how to do it.

TIA,

Yanick
Next
Reply
Map
View

Click here to load this message in the networking platform