Write Cell Failure - Object Reference Not Set

Aditya is the company name

yes…the data is also being typed into search box.

Can you show us the message box which displays the value of CompanyName.

range address?
“B”+(DtExcel.Rows.IndexOf(row)+2).ToString

I used msgbox for popup company name bro


@Palaniyappan

you write log to print company name or send me your .xaml file i try to resolve the same.

Attaching xaml

Main.xaml (27.3 KB)

help asap

@Palaniyappan