Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
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.
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



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