Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 1
Default chart.ChartWizard always failed in excel2k7

For exmaple,

chart.ChartWizard(range5, XlChartType.xl3DColumn, Missing.Value,
XlRowCol.xlRows, 0, 0, True, "Chart", _"Category Type", "Value Type")

the above code worked well in excel 2k3, but always got exception in excel
2k7.

The exception was,

Unhandled Exception: System.Runtime.InteropServices.COMException
(0x80020005): T
ype mismatch. (Exception from HRESULT: 0x80020005 (DISP_E_TYPEMISMATCH))
at
Microsoft.VisualBasic.CompilerServices.LateBinding .InternalLateCall(Object
o, Type objType, String name, Object[] args, String[] paramnames, Boolean[]
Cop
yBack, Boolean IgnoreReturn)
at Microsoft.VisualBasic.CompilerServices.NewLateBind ing.LateCall(Object
Inst
ance, Type Type, String MemberName, Object[] Arguments, String[]
ArgumentNames,
Type[] TypeArguments, Boolean[] CopyBack, Boolean IgnoreReturn)
at AutoExcel.AutoExcel.Main()


This got me stuck at it. sigh...

can somebody help me? thx.
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
ODBC connection failed. Jim Moberg Excel Discussion (Misc queries) 0 October 9th 06 03:53 PM
ODBC connection failed. Jim Moberg Excel Discussion (Misc queries) 0 October 9th 06 03:51 PM
ODBC connection failed. Jim Moberg Excel Discussion (Misc queries) 0 October 9th 06 03:48 PM
Flagging failed values. ryanmhess Excel Worksheet Functions 3 August 4th 06 02:29 PM
Help: runtime error - Method seriescollection object_chart failed huangx06 Charts and Charting in Excel 3 July 9th 05 12:27 AM


All times are GMT +1. The time now is 03:03 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"