Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 14
Default Exception when adding a array formula

I have a COM for Excel writting in C# where I have run into a problem

The COM comes with a wizard that helps the user create a array formula.
But when my code tryes to add the string that makes the array formula to a
range a exception is thrown.
Stack trace:
at System.RuntimeType.ForwardCallToInvokeMember(Strin g memberName,
BindingFlags flags, Object target, Int32[] aWrapperTypes, MessageData&
msgData)
at Microsoft.Office.Interop.Excel.Range.set_FormulaAr ray(Object )

The code looks like this:
Microsoft.Office.Interop.Excel.Range RangeFunc = Sheet.get_Range(....
RangeFunc.FormulaArray = FunctionName + OutRangeString + ")"; //This line
throws

My problem is that this only happens on one German PC and no other custormer
has this problem + I cannot reproduce it on my PC.

Does anyone know what can be the root of this problem?

Torben

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
Issue Adding an Array Formula to a cell at Runtime. Labkhand Excel Discussion (Misc queries) 4 December 4th 08 06:45 PM
Adding up with array formula vsoler Excel Worksheet Functions 2 May 26th 07 02:30 AM
Adding or Deleteing Rows in a Range with an Array formula Casey Excel Programming 2 October 3rd 05 08:27 PM
formula w exception Micayla Bergen Excel Discussion (Misc queries) 3 May 18th 05 03:23 AM
Price rounding - exception formula required Alex McCourty Excel Worksheet Functions 2 November 6th 04 08:33 AM


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