Skip to content
Loading
  • +1
    this methode not taking
     
    Excel.Application xlApp = new Excel.Application();
    Excel.Workbook xlWorkbook = xlApp.Workbooks.Open(fileName);
    Excel._Worksheet xlWorksheet = xlWorkbook.Sheets[1]; // excel sheet
    Excel.Range xlRange = xlWorksheet.UsedRange;
    LastRowTotal(xlWorksheet);//not taking
     
    +1
  • +1

    How to copy, Edit ,save an excel as a new  file in a specific Location in C# using excel interop? i have  method which will edit the existing same excel.But i want to copy the original excel file and edit 2 colums and save that as a diffrent location with any name.

    so i should have the original one and new one with edited.Please suggest an efficient way

    +1