Link to home
Start Free TrialLog in
Avatar of Murray Brown
Murray BrownFlag for United Kingdom of Great Britain and Northern Ireland

asked on

VB.net Excel Add-in Populate DataGridView Cell with Excel value

Hi

I am using the following code to populate a DataGridView Cell with an Excel value. I use code
before this to exclude empty cells (nulls). Is this the correct way to do this, or should I use .ToString?
 
Me.DataGridView1.Rows(10).Cells(c).Value = Globals.ThisAddIn.Application.Cells(oExcelRow, c).value
ASKER CERTIFIED SOLUTION
Avatar of Meir Rivkin
Meir Rivkin
Flag of Israel image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Murray Brown

ASKER

Thanks