Excel macro

rowItem.Select.CopyToDataTable().DefaultView.ToTable(False, “User Name”, “Domain Name”)

What is the function of methods
CopyToDataTable() and DefaultView.ToTable()

Hi @vikumars,

Refer these links for more details on those topics.

CopyToDataTable

DefaultView.ToTable