load and open an excel file which is already exist

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ammoos
    New Member
    • Apr 2007
    • 100

    load and open an excel file which is already exist

    hi friends..

    i need to load and open an excel file which is already exist when i click on the link button..
    so that the user can updates the details in the excel sheet...
    help me if u pls...
    with thanks
  • blackjack2150
    New Member
    • Feb 2007
    • 79

    #2
    Originally posted by ammoos
    hi friends..

    i need to load and open an excel file which is already exist when i click on the link button..
    so that the user can updates the details in the excel sheet...
    help me if u pls...
    with thanks
    If you want to open MS Excel to edit the file, use the Process.Start() method, located in the System.Diagnost ics namespace. Providing the name of the excel file as a parameter to the start method will cause the program to launch the associated application, in your case MS Excel.

    All the best!

    Comment

    • chinu
      New Member
      • Jun 2007
      • 36

      #3
      Originally posted by blackjack2150
      If you want to open MS Excel to edit the file, use the Process.Start() method, located in the System.Diagnost ics namespace. Providing the name of the excel file as a parameter to the start method will cause the program to launch the associated application, in your case MS Excel.

      All the best!
      Yes, something like this
      Process.Start(" C:\\testing\\Bo ok1.xls");

      Comment

      • ammoos
        New Member
        • Apr 2007
        • 100

        #4
        thanks alot friends... its done :)

        Comment

        Working...