View Single Post
  #2   Spotlight this post!  
Unread 16-11-2015, 22:00
Monochron's Avatar
Monochron Monochron is offline
Engineering Mentor
AKA: Brian O'Sullivan
FRC #4561 (TerrorBytes)
Team Role: Engineer
 
Join Date: Feb 2007
Rookie Year: 2002
Location: Research Triangle Park, NC
Posts: 914
Monochron has a reputation beyond reputeMonochron has a reputation beyond reputeMonochron has a reputation beyond reputeMonochron has a reputation beyond reputeMonochron has a reputation beyond reputeMonochron has a reputation beyond reputeMonochron has a reputation beyond reputeMonochron has a reputation beyond reputeMonochron has a reputation beyond reputeMonochron has a reputation beyond reputeMonochron has a reputation beyond repute
Re: Connecting VB with Excel

Quote:
Originally Posted by logank013 View Post
In my computer programming class, we have been learning to program in Visual Basic. I'm not sure how much it is used in real life but I'm trying to connect a VB program to excel. I wrote the code based off of a video I found on youtube. I know very little about computer programming but you can only learn by failing and figuring it out. The road block I hit is not knowing what my Oledb provider is. How do I find my oledb provider? Thanks
Disclaimer: I'm not familiar with VB or Oledb.

First, are you hoping to actually "connect" your program to Excel? As in modify the Excel program and/or send messages to it? If so, just ignore this post.

If you are trying to import or create Excel files though I can reccomend the library EPPlus. It is a .net library that lets you create a "Spreadsheet" object in memory (or open a saved one), populate it fairly robustly, and save it to disk. There is alot a good deal of support for it online.

If that isn't what you were looking to do then, uh, sorry. Useless post