Go Back  Xtreme Visual Basic Talk > Legacy Visual Basic (VB 4/5/6) > VBA / Office Integration > Excel > Using Excel as a data table to access through VB


Reply
 
Thread Tools Display Modes
  #1  
Old 12-08-2003, 03:03 PM
saracensxv saracensxv is offline
Newcomer
 
Join Date: Dec 2003
Location: England
Posts: 2
Unhappy Using Excel as a data table to access through VB


Hope someone can help...I am trying to create a VB prog. which needs to use data stored in a table format. Does anyone have any ideas as to how Excel can be used for this? The data stored does not change. I am a novice VB user so I would be grateful if you explained it in 'baby speak'!!
Reply With Quote
  #2  
Old 12-08-2003, 06:17 PM
italkid's Avatar
italkid italkid is offline
Down...

Retired Moderator
* Expert *
 
Join Date: Dec 2002
Location: Belgium.
Posts: 6,731
Default

First you should think about what application would be the best to
handle/store your data.
Is for instance Access an option ?
Be aware of the fact Excel isen't a real DB application but more a "calculation" program.
What kind and how much data you need to handle...?
If you want to link Excel to your VB application then i would advice you
to take a look at these threads which handles the basics of linking VB with Excel.
Take a look at these threads...
One
Two
Three
Four
Additional you could use this forum's excellent search tool and search
for words like "open,close,save,quit,application" etc....
Hope this gets you started.
Reply With Quote
  #3  
Old 12-09-2003, 02:39 PM
saracensxv saracensxv is offline
Newcomer
 
Join Date: Dec 2003
Location: England
Posts: 2
Default Using Excel as a data table to access through VB

Quote:
Originally Posted by saracensxv
Hope someone can help...I am trying to create a VB prog. which needs to use data stored in a table format. Does anyone have any ideas as to how Excel can be used for this? The data stored does not change. I am a novice VB user so I would be grateful if you explained it in 'baby speak'!!



Thank for the reply. I'm open to suggestions about which is more appropriate to use (Excel or Access). I'm trying to create a Scuba Diver's Planner. Divers enter the depths and time they wish to spend underwater and VB uses the tables (which I was planning on storing in excel) to find the corresponding Nitrogen level in the body and the maximum time the diver can remain underwater at the given depth. I only need excel in this example to store the nitrogen/max dive time data. No calculations are required by Excel.
The above is then repeated if the diver wishes to do a repetitive dive following a surface interval, then different dive tables are referred to which also need to be stored.
Reply With Quote
  #4  
Old 12-09-2003, 09:21 PM
Timbo's Avatar
Timbo Timbo is offline
Green-Eyed

Super Moderator
* Guru *
 
Join Date: May 2001
Location: Bangkok, Thailand
Posts: 10,261
Default

If you don't need Excel's analysis features, then don't use it if you have an alternative...
__________________
"He's not the Messiah. He's a very naughty boy!" - Brian's mum

Can't find the answer? >> Try something new!
Become a Professional
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Save data from excel sheets to Access table using VB Just_Started Database and Reporting 2 11-10-2003 11:12 AM
validate and export excel data to access using vb raveePanjala Database and Reporting 2 08-31-2003 11:52 PM
VB Code to export Excel data into MS ACCESS madhusrr Word, PowerPoint, Outlook, and Other Office Products 1 08-19-2003 01:18 AM
validate and export excel data to access using vb shama78 Excel 0 06-06-2003 07:29 AM
Using VB to extract data from Access and saving it in Excel meeky_mouse Database and Reporting 3 01-28-2002 08:16 PM

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
 
 
-->