+ Reply to Thread
Results 1 to 3 of 3

Decimal type in Excel 97

  1. #1
    E-Cube
    Guest

    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. #2
    Jerry W. Lewis
    Guest

    RE: 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. #3
    E-Cube
    Guest

    RE: 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 to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1