Murray Brown
asked on
VB.net Excel Add-in error comparing DataGridView Cell to Excel Cell
Hi
In comparing a DataGridView cell value to an Excel cell value I get the error below.
How would I change the code to not cause any errors no matter what the values,
including nulls. Thanks
If Me.DataGridView1.Rows(10). Cells(c).V alue <> Globals.ThisAddIn.Applicat ion.Cells( oExcelRow, c).value Then
Image1.jpg
In comparing a DataGridView cell value to an Excel cell value I get the error below.
How would I change the code to not cause any errors no matter what the values,
including nulls. Thanks
If Me.DataGridView1.Rows(10).
Image1.jpg
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER