Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Inserting an analysis toolpak function in a Cell with C#

First of all, greetings to every one.

I have to say that I'm new to the Microsoft Office programming. I use
Excel 2003 US with analysis toolpak loaded and VS.net 2005.

I'm making a little programme in C# to write formulas into Excel sheet
cells. It works just fine with the basics formulas but with the
formulas from the analysis toolpak they are not understood, I get the
#NAME? message.

The thing that I don't understand is that when I write the formula
(=ISODD(3) for exemple) with my programe and open the xls file with
excel, double click on the cell and press "enter" the cell is
recalculated and put correctly the "false" indication.

What should I do have the cell with the analysis toolpak correctly
writen or evaluated ?

Many thank's for the help and for your answers

Clair

PS : this is the methode I use the modify a Cell :

private Excel.Range excelRange = null;

..
..
..

public void modifCell(int line, int row, string value)
{
excelRange = (Excel.Range)excelCurrentSheet.Cells[line, row];
excelRange.Cells.Clear();
excelRange.Cells.FormulaLocal = value;
excelRange.Cells.Calculate();
}

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7
Default Inserting an analysis toolpak function in a Cell with C#

Up !

I realy need help on this

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7
Default Inserting an analysis toolpak function in a Cell with C#

No one know's ?

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7
Default Inserting an analysis toolpak function in a Cell with C#

I'm still looking for informations, I don't understand what is happening

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7
Default Inserting an analysis toolpak function in a Cell with C#

up ! :o)

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
Excel 2002 Analysis ToolPak Regression Analysis Help Requested MH Excel Worksheet Functions 1 February 28th 09 07:16 AM
Analysis Toolpak-Confidence Level and data analysis questions MH Excel Worksheet Functions 0 January 3rd 09 06:15 PM
Yield() function missing from XL2007 SP1 ATPVBAEN Analysis ToolPak Ron West Excel Worksheet Functions 8 November 14th 08 11:30 AM
Inserting a analysis toolpak function with C# [email protected] Excel Programming 0 July 26th 06 01:09 PM
My XIRR function has dropped out, analysis toolpak doesn't fix. Jake Excel Worksheet Functions 3 December 15th 04 09:25 PM


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