User Profile

Collapse

Profile Sidebar

Collapse
student491
student491
Last Activity: Feb 26 '08, 06:33 PM
Joined: Jan 16 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • How to read Excel file & save data in array...........

    hello,

    I opened the excel file by using workbook.open() method...
    Now i want to read the data from the excel file.. & save it into
    array.

    help out .. how to do this.
    Then i want to pass that array through SetSourceData() method & want to draw cunztomized chart...

    (I am using Excel 2007, C# 2005, COM)

    Thx... :)
    See more | Go to post

  • student491
    replied to how to open Existing Excel file ....
    in .NET
    i used the followning fuctions But when i click the button ... nothNg is done ... ( means excel file didn't open).......... ..

    tring workbookPath = "G:\\test.x ls"; // Add your own path here
    Microsoft.Offic e.Interop.Excel .Workbook excelWorkbook = ThisApplication .Workbooks.Open (workbookPath, 0,
    false, 5, "", "", false, Microsoft.Offic e.Interop.Excel .XlPlatform.xlW indows,...
    See more | Go to post

    Leave a comment:


  • student491
    replied to how to open Existing Excel file ....
    in .NET
    that problem of method z solved i gave the the wrong extention .. nw
    problem z no file z opened ... nothNg z happened...

    so plz help me out ...

    (i'm usNg C#2005, Excel 2007 & COM)

    thanks
    See more | Go to post

    Leave a comment:


  • student491
    started a topic how to open Existing Excel file ....
    in .NET

    how to open Existing Excel file ....

    Hello,

    i tried to open existNg Excel file by using follow metho bt it give error ... that this file doestnt exist or path is incorrect...... ..

    wb = ThisApplication .Workbooks.Open (paramWorkbookP ath,
    Type.Missing, Type.Missing, Type.Missing, Type.Missing,
    Type.Missing, Type.Missing, Type.Missing, Type.Missing,
    Type.Missing, Type.Missing, Type.Missing, Type.Missing,...
    See more | Go to post
No activity results to display
Show More
Working...