Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default 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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 16
Default 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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default 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
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
How to type format time in decimal format & calculate Cheyenne Excel Discussion (Misc queries) 1 February 12th 09 11:54 PM
when I type numbers in a cell it changes it to a decimal point Ton[_2_] Excel Discussion (Misc queries) 4 October 1st 08 09:54 PM
ALL NUMBERS I TYPE HAVE DECIMAL POINT PAPA ROSS Excel Discussion (Misc queries) 3 May 7th 08 09:13 PM
Excel will not let me type any characters....I can type in Word. deholly Excel Discussion (Misc queries) 1 March 17th 06 10:34 AM
Excel will not let me type any characters....I can type in Word. deholly Excel Discussion (Misc queries) 0 March 17th 06 10:20 AM


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