Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Calling ApplyCustomType for Excel 2002 in C#
Hello, I'm trying to call the ApplyCustomType method in a C#
application using the Microsoft Excel 10.0 object library. I'm using this method to use a user-defined chart type. The method signature is ApplyCustomType ( Excel.XlChartType ChartType , System.Object TypeName ) What's throwing me is the first parameter. XlChartType is an enumeration but there is no "user-defined" member. All members map to a specific pre-defined chart type. The code below was generated by running a VBA macro in Excel. The ApplyCustomType method takes a value of xlUserDefined as the first parameter. Chart.ApplyCustomType( ActiveChart.ApplyCustomType ChartType:=xlUserDefined, TypeName:="ByVendor" Does any know what to pass as the first parameter in ApplyCustomType for C#? Thanks, Scott |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Calling ApplyCustomType for Excel 2002 in C#
Sj wrote:
Does any know what to pass as the first parameter in ApplyCustomType for C#? 22 ? Bill Manville MVP - Microsoft Excel, Oxford, England No email replies please - reply in newsgroup |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
ApplyCustomType in Excel 2007 | Excel Discussion (Misc queries) | |||
calling "Fact()" from a macro in excel 2002 | Excel Worksheet Functions | |||
Outlook 2002 calendar dates exported to Excel 2002 sort incorrectl | Excel Worksheet Functions | |||
Can you print labels using Excel 2002 in a Word 2002 mail merge? | Excel Discussion (Misc queries) | |||
Excel 2002 files attached to Outlook 2002 EMails change size | Excel Programming |