Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default Using axSpreadsheet

Hello,

I am using a axSpreadsheet component in my Winforms application. How do I
fetch data from cells which the user has entered at runtime? For ex - I had
programatically inserted data in cell A1 as -

axSpreadsheet1.ActiveCell.get_Range("A1", "A1").Value2 = "Some Content";

On a button click I have the following code which gets me the data of cell
A1 -

axSpreadsheet1.ActiveCell.get_Range("A1", "A1").Text.ToString()

However, if the user had entered some content in B1 at runtime, then

axSpreadsheet1.ActiveCell.get_Range("B1", "B1").Text.ToString() returns me
an empty string. How can I get the new/updated/modified data?

Thanks.

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 53
Default Using axSpreadsheet


"Kaustav" schreef in bericht
...
Hello,

I am using a axSpreadsheet component in my Winforms application. How do I
fetch data from cells which the user has entered at runtime? For ex - I
had
programatically inserted data in cell A1 as -

axSpreadsheet1.ActiveCell.get_Range("A1", "A1").Value2 = "Some Content";

On a button click I have the following code which gets me the data of cell
A1 -

axSpreadsheet1.ActiveCell.get_Range("A1", "A1").Text.ToString()

However, if the user had entered some content in B1 at runtime, then

axSpreadsheet1.ActiveCell.get_Range("B1", "B1").Text.ToString() returns me
an empty string. How can I get the new/updated/modified data?

Thanks.



Hello,

Better post this question in a .NET newsgroup. It's easier to find someone
over there who knows about Excel than finding an Exceller here who knows
about .NET
However, I think it's a matter of refreshing data after editting.

Hans


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
Using axSpreadsheet Kaustav Excel Worksheet Functions 0 October 10th 06 05:44 PM
Adding PivotTable to AxSpreadsheet Maggie[_7_] Excel Programming 0 February 24th 06 08:50 PM
AxSpreadsheet Help !!! Daniel Junges Excel Programming 2 October 7th 05 12:22 PM
Loading AxSpreadsheet from a .NET resource Paul Hasell Excel Programming 4 September 20th 05 07:26 AM
Opening an Excel file in OWC10.AxSpreadSheet santhosh.b Excel Programming 1 September 16th 05 11:07 AM


All times are GMT +1. The time now is 09:27 PM.

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"