Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default 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
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
Major bug when serving Excel 2007 files through IE? Danny Tuppeny Excel Discussion (Misc queries) 2 January 31st 07 01:03 PM
Am I the Only One Having Excel 2007 Performance Problems Concerned Excel Discussion (Misc queries) 4 January 30th 07 01:17 AM
RTD Function Always Returns #N/A in Excel 2007 Jose Excel Worksheet Functions 0 November 29th 06 07:29 PM
RTD Function Always Returns #N/A in Excel 2007 Jose Excel Worksheet Functions 0 November 29th 06 07:28 PM
Problematic chart issues in Excel 2007 azbull Charts and Charting in Excel 1 October 2nd 06 03:35 PM


All times are GMT +1. The time now is 02:18 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"