Ranjith Balan

Ranjith Balan

  • NA
  • 26
  • 2.1k

How to delete multiple excel coloumn in c#

Aug 25 2021 6:17 PM

i have tried this for deleting A,B,C coloums but getting error

   excelRange.get_Range("A,B,C", Missing.Value);
                    excelRange.EntireColumn.Delete(Missing.Value);
                    System.Runtime.InteropServices.Marshal.ReleaseComObject(excelRange);


Answers (3)