473,545 Members | 1,956 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Excel to Visual Basic .NET

Good afternoon all,

I am trying to retrieve data from Microsoft Excel files using Microsoft
Visual Basic .NET 2003.

I want to be able to run this program on machines not running Microsoft
Excel, and was hoping that there was an easy way; unfortunately I
haven't been able to find one in my usual internet searches.

The workbook I need to access is fairly simple, and all I need is to
read are values, not formatting or charts etc., so I thought it was
going to be fairly easy.

If someone knows a way to make this work or a direction I should be
looking for information from, please let me know.

Yours sincerely,

William Foster

*** Sent via Developersdex http://www.developersdex.com ***
Aug 8 '06 #1
4 1151
Hi

Is this any help?

http://support.microsoft.com/default...b;en-us;316934

Cheers
Martin
William Foster wrote:
Good afternoon all,

I am trying to retrieve data from Microsoft Excel files using Microsoft
Visual Basic .NET 2003.

I want to be able to run this program on machines not running Microsoft
Excel, and was hoping that there was an easy way; unfortunately I
haven't been able to find one in my usual internet searches.

The workbook I need to access is fairly simple, and all I need is to
read are values, not formatting or charts etc., so I thought it was
going to be fairly easy.

If someone knows a way to make this work or a direction I should be
looking for information from, please let me know.

Yours sincerely,

William Foster

*** Sent via Developersdex http://www.developersdex.com ***
Aug 8 '06 #2
Martin,

Thank you for this lead I will give it a try !

Yours sincerely,

William Foster

*** Sent via Developersdex http://www.developersdex.com ***
Aug 8 '06 #3
Martin,

Thank you very much, this article helped me out a lot !

Basically, apart from many hours of work to go on the rest of the
program, the problem is solved.

Yours sincerely,

William Foster

*** Sent via Developersdex http://www.developersdex.com ***
Aug 9 '06 #4
Great - glad you've got that part done!
Martin

William Foster wrote:
Martin,

Thank you very much, this article helped me out a lot !

Basically, apart from many hours of work to go on the rest of the
program, the problem is solved.

Yours sincerely,

William Foster

*** Sent via Developersdex http://www.developersdex.com ***
Aug 9 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

13
35498
by: Allison Bailey | last post by:
Hi Folks, I'm a brand new Python programmer, so please point me in the right direction if this is not the best forum for this question.... I would like to open an existing MS Excel spreadsheet and extract information from specific worksheets and cells. I'm not really sure how to get started with this process. I ran the COM Makepy...
3
2945
by: Omar | last post by:
Hi Developers, I am trying to access an Excel data file through a VB.Net application. I have the following code: =================================== VB.Net Code =================== Dim sSqlString = "" Dim rCount As Integer = 0 Dim sDataSet As New DataSet() sSqlString = "Select * From "
3
10712
by: James Wong | last post by:
Dear all, I have an old VB6 application which can create and access Excel object. The basic definition statements are as follows: Dim appExcel As Object Dim wkb1 As Excel.Workbook Dim wks1 As Excel.Worksheet Set appExcel = New
4
1872
by: jakekeke | last post by:
Dear all, I would like to use excel and vb.net to create a report(xml) generator, however, i wouldnt find any source for making shapes(button,label) from vb.net to initial excel what i want to know is how can i get the actionlistener of a button, which the coding is made in VB.Net but the button is added on a spreadsheet i think i have...
3
2171
by: Mitchell Vincent | last post by:
Does anyone have some good examples of Excel automation with (VB).NET? I have some Excel spreadsheets that a customer needs parsed out but I've never tried to use Excel programatically before! Thanks! -- - Mitchell Vincent - kBilling - Invoices Made Easy!
2
5662
by: Rod | last post by:
I want to manipulate a spreadsheet from within dotnet (using VB). I cant figure out how to get started. i.e. what is the equivalent to the VBA code On Error Resume Next Set objExcel = GetObject(, "Excel.Application") If objExcel Is Nothing Then Set objExcel = New Excel.Application End If
2
1516
by: Agnes | last post by:
Which Reference I should Add If I want to delcare excel.application ? Thanks
10
8179
by: Steve | last post by:
I am trying to create a DLL in Visual Studio 2005-Visual Basic that contains custom functions. I believe I need to use COM interop to allow VBA code in Excel 2002 to access it. I've studied everything I can find on COM Interop and .NET. I've also tried many of the 'Walkthroughs' on the MSDN site relating to COM add-ins, .NET and Office XP...
3
3990
by: dan_roman | last post by:
Hi, I developed a script with a nice interface in Tkinter that allows me to edit some formulas and to generate an Excel worksheet with VBA macros within it. The script runs perfectlly in Office 2000, but in Office 2003 crash at line: "wbc = workbook.VBProject.VBComponents.Add(1)" Please help me :-( the code of the module that crash is...
1
2886
by: chrspta | last post by:
I am new to Visual basic. I need a program using VB6 that converts txt files to excel file.Description is in the below: The form should have the Drive list, Dir list, file list and cmdConvert button. Once pulling down the drive list and clicking to the specific drive, folders will be shown in the dir list. When clicking the folders in the dir...
0
7484
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7415
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7928
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7440
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7775
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
5997
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
3470
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
1
1902
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1030
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.