Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Decimal type in Excel 97
I am creating an vb.net application that uses Excel 97 to generate xls reports.
I create an array object that contains dot.net decimal types and pass that array object into a range object from Excel 97, would errors occur? I ask because I get 0x800A03EC when setting a range objects value method to the data array I created. Thank you in advance for your assistance. |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Decimal type in Excel 97
You must explicitly coerce from decimal to double before putting them into a
range object. Jerry "E-Cube" wrote: I am creating an vb.net application that uses Excel 97 to generate xls reports. I create an array object that contains dot.net decimal types and pass that array object into a range object from Excel 97, would errors occur? I ask because I get 0x800A03EC when setting a range objects value method to the data array I created. Thank you in advance for your assistance. |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Decimal type in Excel 97
Jerry,
Thank you that worked. Eric "Jerry W. Lewis" wrote: You must explicitly coerce from decimal to double before putting them into a range object. Jerry "E-Cube" wrote: I am creating an vb.net application that uses Excel 97 to generate xls reports. I create an array object that contains dot.net decimal types and pass that array object into a range object from Excel 97, would errors occur? I ask because I get 0x800A03EC when setting a range objects value method to the data array I created. Thank you in advance for your assistance. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
How to type format time in decimal format & calculate | Excel Discussion (Misc queries) | |||
when I type numbers in a cell it changes it to a decimal point | Excel Discussion (Misc queries) | |||
ALL NUMBERS I TYPE HAVE DECIMAL POINT | Excel Discussion (Misc queries) | |||
Excel will not let me type any characters....I can type in Word. | Excel Discussion (Misc queries) | |||
Excel will not let me type any characters....I can type in Word. | Excel Discussion (Misc queries) |