How to Get a Value from Report Template Cell?

The 1C:Enterprise developers forum

#1
People who like this:0Yes/0No
Active user
Rating: 3
Joined: Jul 20, 2011
Company:

I’m implementing a report with cells where a user can enter values. Those values I need to handle. I do the following: check ContainsValue check box, set ValueType to Number, set Contol to Text box. How can I get a value from this cell now?

 
#2
People who like this:0Yes/0No
Active user
Rating: 3
Joined: Sep 16, 2011
Company: individual

Use SpreadsheetDocument.Area() to get cell and then Value to get value inside this cell.

Example:
Cell = Spreadsheet.Area("R2C5");
MyValue = Cell.Value;

 
Subscribe
Users browsing this topic (guests: 1, registered: 0, hidden: 0)
Be the first to know tips & tricks on business application development!

A confirmation e-mail has been sent to the e-mail address you provided .

Click the link in the e-mail to confirm and activate the subscription.