Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Exception with EXCEL 2007 API
Hi,
I've written an office interface with VS2003. This interface works fine with all office version except office 2007. It throws folllowing the expection at System.RuntimeType.ForwardCallToInvokeMember(Strin g memberName, BindingFlags flags, Object target, Int32[] aWrapperTypes, MessageData& msgData) at Microsoft.Office.Interop.Excel.Shape.get_Hyperlink ( ) at Call to delete function throws this exception. (Following is the code) Excel.Shape newShp = xlSheet.Shapes.Item(xlSheet.Shapes.Count); address = address.Replace(cb.objectId,propBean.objectId); newShp.Hyperlink.Delete(); this hyperlink property has value as "<error: an exeception of type: {System.Runtime.Intropservices.COMException} occured" Can anybody help me in this regard? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Major bug when serving Excel 2007 files through IE? | Excel Discussion (Misc queries) | |||
Am I the Only One Having Excel 2007 Performance Problems | Excel Discussion (Misc queries) | |||
RTD Function Always Returns #N/A in Excel 2007 | Excel Worksheet Functions | |||
RTD Function Always Returns #N/A in Excel 2007 | Excel Worksheet Functions | |||
Problematic chart issues in Excel 2007 | Charts and Charting in Excel |