C# passing array of data to Excel

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • tlinzy

    C# passing array of data to Excel

    I'm converting a VB6 program that passes data (including arrays) to an Excel
    spreadsheet. I'm having trouble in c# passing the array. I'm getting a type
    mismatch error. Any ideas?
    --
    Thank You
  • Nicholas Paldino [.NET/C# MVP]

    #2
    Re: C# passing array of data to Excel

    How are you passing the array? You should probably be passing it as an
    array of type object.


    --
    - Nicholas Paldino [.NET/C# MVP]
    - mvp@spam.guard. caspershouse.co m

    "tlinzy" <tlinzy@discuss ions.microsoft. comwrote in message
    news:A41A9076-7F48-4C56-9DA6-0821557EB0E4@mi crosoft.com...
    I'm converting a VB6 program that passes data (including arrays) to an
    Excel
    spreadsheet. I'm having trouble in c# passing the array. I'm getting a
    type
    mismatch error. Any ideas?
    --
    Thank You

    Comment

    Working...