Ali  Alfaraj

Ali Alfaraj

  • NA
  • 68
  • 106.8k

Removing duplicate values in excel using visual c#

Sep 26 2011 12:00 AM
Good day dear members,

I'm trying to remove duplicate values in an excel sheet through visual c#. I found the following function:

xlWorkSheet.Columns.RemoveDuplicates(object columns, XlYesNoGuess Header) //xlWorkSheet is the excel sheet

But I'm not sure how to use! specifically for the first argument.

How can I pass excel columns to this function?

Hope you can help,

Ali


Answers (2)