Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Newbie question
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post will appear after it is approved by moderators
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Vineeth  
View profile  
 More options Jul 14 2012, 3:18 am
From: Vineeth <VineethMo...@algotree.com>
Date: Sat, 14 Jul 2012 00:18:03 -0700 (PDT)
Local: Sat, Jul 14 2012 3:18 am
Subject: Newbie question

Hi ,

I am a total newbie to Excel programming or Excel DNA or even C# :(

I have a C# library which i can use to interface with my hosted server. I
need to integrate that with MS Excel 2010.
So my purpose is as simple as reading parameters from a function in Excel ,
calling my web interface , getting back a time series and displaying it as
a table in Excel.

So far , i was able to return single values but i am not able to make excel
display the 2 dimensioned array as a table.

Please guide me on how to do this.
Also it would be of great help if someone can give links to functions like
how to read from cells in current Excel sheet and how to write back values
to each cell.

Thanks
           Vineeth  


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Govert van Drimmelen  
View profile  
 More options Jul 14 2012, 5:36 pm
From: Govert van Drimmelen <gov...@icon.co.za>
Date: Sat, 14 Jul 2012 14:36:11 -0700 (PDT)
Local: Sat, Jul 14 2012 5:36 pm
Subject: Re: Newbie question
Hi Vineeth,

Excel supports 'array formulae' which allow you to use an array of
values in a single function call. These are entered into the Excel
sheet by selected the target range of cells, then typeing in the
formula and pressing Ctrl+Shift+Enter to set it is an array formula
for the range. You'll such a formula see it displayed in Excel with
curly brackets {=GetTheData()}.

There are many hits of Google for 'Excel array formula' - this seemed
like a good start: http://www.cpearson.com/excel/ArrayFormulas.aspx.

To define an array function in you Excel-DNA add-in, just return the
data as an object[,] array.

Sometimes it's an issue to manage the size of the resulting array -
Excel assumes you already know the expected size. Excel-DNA can help
manage this - have a look at the ArrayResizer.dna example in the Excel-
DNA distribution.

Regards,
Govert

On Jul 14, 9:18 am, Vineeth <VineethMo...@algotree.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »