Go to Post "Oblivious" people asking questions are what gives us an excuse to sit around on CD. - Ryan M. [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #10   Spotlight this post!  
Unread 17-11-2015, 09:50
logank013's Avatar
logank013 logank013 is offline
System.out.println("Ready!");
AKA: Logan Kreisher
FRC #0234 (Cyber Blue)
Team Role: Scout
 
Join Date: Apr 2015
Rookie Year: 2015
Location: Indianapolis, IN
Posts: 707
logank013 has a brilliant futurelogank013 has a brilliant futurelogank013 has a brilliant futurelogank013 has a brilliant futurelogank013 has a brilliant futurelogank013 has a brilliant futurelogank013 has a brilliant futurelogank013 has a brilliant futurelogank013 has a brilliant futurelogank013 has a brilliant futurelogank013 has a brilliant future
Re: Connecting VB with Excel

Quote:
Originally Posted by Monochron View Post
If you are willing to jump to VBA, it could be a great tool for what you are looking to do. On the other hand, if you are looking to stretch your legs a bit with regular VB, I whole heatedly recommend EPPlus.

In your VB program you would have your Save button event read in all the text box values, update your EPPlus ExcelWorksheet object, then call the ExcelWorksheet.Save() function to write it to disk. You can even load the column names from the Excel file directly into your program by importing the file and just accessing the specific cells.

Here are some good examples:
http://www.jimmycollins.org/blog/?p=547
And I can send you my own example if you like.
Just out of curiousity, how different is the language from VB to VBA
__________________
Cyber Blue Season 2015
IN Indy District Chairman's Award Winner | IN Kokomo District Event Winner (With 135 and 3865)
IN Purdue District Event Winner (With 1024 and 2197) | IN District Championship Winner (With 1024 and 292)
WORLDS:
Archimedes Rank 3 After Quals. | Alliance #3 Captain
Archimedes Division Semi-Finalist (With 503,188, and 836)

Scouting is life. Excel is friend, not foe.
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 22:29.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi