You can't use cells(1, 1).  Try something like that :

workSheet.cells().item(1, 1).value("Hello world");

Steeve...

-----Message d'origine-----
De : Chris Trybus [mailto:[EMAIL PROTECTED]
Envoyé : 10 mai 2004 03:41
À : [EMAIL PROTECTED]
Objet : [development-axapta] getting text out of a cell in Excel

Hi all



In my project I'm writing data into an excel spreadsheet. The problem is I
want to be able to check what text is in a certain cell before I right to a
cell.

The only method/property that I could find is the .value method but when I
try compile using this method Axapta gives the error "The table is out of
range or does not exist." I have also tried using the formula() but this
also gives an error. I am also using the range method to get the cell
because when I used the cells(1,1) method this gave an error method called
with invalid number of parameters.



Thanx



Chris



[Non-text portions of this message have been removed]






Yahoo! Groups Links







Yahoo! Groups Sponsor
ADVERTISEMENT
click here


Yahoo! Groups Links

Reply via email to