473,503 Members | 3,308 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

MS Access -> Listview -> Excel

Hi All
I am fairly new to VB.Net, and have gotten stuck with an invoicing
application. My database (Access 2000 / 2003) is used to store records of our
products, customers, suppliers etc. The user can select customer details
which form the proposal / invoice header. The user can also select certain
products which can be added to the proposal "dataset". The selected product
items are displayed in a listview control. My question is as follows. How do
I write the items in the listview control to an Excel spreadsheet?

Any help will be greatly appreciated

Sep 26 '05 #1
2 2119
CT
I'd go with one of the report products that can save to Excel. Another
option is to write to a text file, in XML or CSV format, which can be opened
in Excel?

--
Carsten Thomsen
Enterprise Development with VS .NET, UML, AND MSF
http://www.apress.com/book/bookDisplay.html?bID=105
Communities - http://community.integratedsolutions.dk

"ExDelphi" <Ex******@discussions.microsoft.com> wrote in message
news:8E**********************************@microsof t.com...
Hi All
I am fairly new to VB.Net, and have gotten stuck with an invoicing
application. My database (Access 2000 / 2003) is used to store records of
our
products, customers, suppliers etc. The user can select customer details
which form the proposal / invoice header. The user can also select certain
products which can be added to the proposal "dataset". The selected
product
items are displayed in a listview control. My question is as follows. How
do
I write the items in the listview control to an Excel spreadsheet?

Any help will be greatly appreciated

Sep 26 '05 #2
Jan
You have few components on the market which support XLS export.

For example, our ExcelLite Free is a free .NET component that can read /
write both XLS and CSV files. You can use it in a commercial applications;
it is only limited to max 150 rows per sheet. You can download it here:
http://www.gemboxsoftware.com/ExcelLiteFree.htm If your worksheet grows in
size, you can easily update to ExcelLite Professional.

Jan

"ExDelphi" <Ex******@discussions.microsoft.com> wrote in message
news:8E**********************************@microsof t.com...
Hi All
I am fairly new to VB.Net, and have gotten stuck with an invoicing
application. My database (Access 2000 / 2003) is used to store records of
our
products, customers, suppliers etc. The user can select customer details
which form the proposal / invoice header. The user can also select certain
products which can be added to the proposal "dataset". The selected
product
items are displayed in a listview control. My question is as follows. How
do
I write the items in the listview control to an Excel spreadsheet?

Any help will be greatly appreciated

Sep 27 '05 #3

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

Similar topics

38
2266
by: Remco Groot Beumer | last post by:
Hello, I'm trying to decide if the following situation would be workable: Generate an MS Access Front End (which will run localy on client computers), which will link to a DBMS (SQL server or...
3
3657
by: Gaffar | last post by:
Hello, how to export ms-access tables information to excel sheet using ASP. please give sample code. it is very urgent to me or if u have no idea please give any news group to solve my...
7
5315
by: taylor.bryant | last post by:
I am running: Win XP SP2 Excel 2002, Access 2002 (Office XP SP3) Using Visual Basic (not VB.NET) At one point (prior to XP SP2?!? - I can't pin it down), this did not happen and I was easily...
2
346
by: ExDelphi | last post by:
Hi All I am fairly new to VB.Net, and have gotten stuck with an invoicing application. My database (Access 2000 / 2003) is used to store records of our products, customers, suppliers etc. The user...
0
1599
by: Steve1974 | last post by:
Hi All I am currently using Access to output to excel. The creation of the worksheet goes ok, and then I have a piece of code (recorded from an Excel macro) to create pick lists for two columns...
0
2085
by: JFKJr | last post by:
Hello everyone! I am trying to export Access table data into Excel file in such a way that the table field names should be in the first line of each column in excel file followed by field data, and...
2
3873
by: eko99312 | last post by:
Dear All, As you know that input data on excel is easy than access, you can simple click the date that you prefer and input the value that you want. For example : Consider that the month that I...
0
1146
by: Aravind555 | last post by:
Hi, I like to update access data base from excel , based on primary key. also i like to know how to get customized report(query) in Excel where i may need to do only refresh in excel Thanks...
0
1174
by: neerja khattar | last post by:
Access form having filtering criteria.It generates a query so I want that query to show the output in excel report. How Should I show access form result on excel report
0
7064
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...
0
7261
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7315
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...
0
5559
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,...
0
4665
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3158
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...
0
3147
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1492
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 ...
1
721
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.