Disregard this post, i have found my answer here! https://www.wikivideo.eu/gb/lesson/29352/53-how-to-import-excel-file-to-datagridview-in-vb-net/
Reading 2 columns from Excel
Good afternoon,
Beginner programmer here so please be gentle!
I'm trying to read in column A and column B from a spreadsheet located on one of our servers to then display in a Datagridview.
Could someone point me in the right direction please?
Thanks
Simon
Developer technologies | Visual Basic for Applications
3 answers
Sort by: Most helpful
-
-
Oskar Shon 49,311 Reputation points Volunteer Moderator2022-11-22T20:16:47.107+00:00 Datagridview not exist in VBA.
Can be a vb.net from Visual studio or check your ActiveX control once again
Can be a ListView from ConnomControl v1 ? -
Simon Scott 306 Reputation points
2022-11-23T15:58:23.467+00:00 Sorry this is within Visual Studio using vb.net!
I have succeeded in importing the Excel spreadsheet in my DatagridView.....Now to work out how to pull the colours through!
Appreciate you responding though :)