Jump to content
Xtreme .Net Talk

Recommended Posts

Posted
I am trying to move information from an Excel Spreadsheet into a listbox using VB.NET. Being relatively new to VB.NET I am not sure exactly how to accomplish. I read about how to Create an Excel object to move information from the program into Excel but I need to understand how to open an Excel File and move the all the information from the Spread into Listbox in the program. Any help with this would be greatly appreciated.
Posted

You need to add a COM reference to Microsoft Excel 10.0 Object Library then all the methods and properties will become visible to you:

 


DIM objExcel as New Excel.Application

My website
Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...