473,387 Members | 1,502 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

VB and Excel

I'd like to read in an Excel based xls template, add data to specific cells
then write the information out to a different filename. In addition to a
request for some sample code, I have the following questions that I hope
somebody can help me with:
1) Do all versions of excel export an interface? I'm using Excel 2002
2) Do I need to require that all users have Excel on the system or can I
interact with the spreadsheet without it?

TIA

Brad
Nov 21 '05 #1
4 1940

1. I do not understand what you mean by "export an interface"

2. All users must have the Excel library installed that is either the
same or backwards compatible with the one you are writing against (if
you are using automation). Some platforms such as Crystal Reports I
believe allow you to write excel spreadsheets without Excel being
installed.

"Bradley" <br************@roche.com> wrote in message
news:#u**************@TK2MSFTNGP12.phx.gbl:
I'd like to read in an Excel based xls template, add data to specific cells
then write the information out to a different filename. In addition to a
request for some sample code, I have the following questions that I hope
somebody can help me with:
1) Do all versions of excel export an interface? I'm using Excel 2002
2) Do I need to require that all users have Excel on the system or can I
interact with the spreadsheet without it?

TIA

Brad


Nov 21 '05 #2
Thanks for the response. My question must not have been clear. All that I
want to do is programmatically open an Excel file, modify the contents then
write the info to another Excel file (could be the same one.) This doesn't
seem like it should be difficult. I thought that there would be an MS Office
SDK, but the only information I find is related to Office 2003, whereas I
need to support earlier versions of Excel.

Thanks again.

Brad

"scorpion53061" <sc************@nospamhereyahoo.com> wrote in message
news:eP**************@TK2MSFTNGP10.phx.gbl...

1. I do not understand what you mean by "export an interface"

2. All users must have the Excel library installed that is either the
same or backwards compatible with the one you are writing against (if
you are using automation). Some platforms such as Crystal Reports I
believe allow you to write excel spreadsheets without Excel being
installed.

"Bradley" <br************@roche.com> wrote in message
news:#u**************@TK2MSFTNGP12.phx.gbl:
I'd like to read in an Excel based xls template, add data to specific cells then write the information out to a different filename. In addition to a request for some sample code, I have the following questions that I hope
somebody can help me with:
1) Do all versions of excel export an interface? I'm using Excel 2002
2) Do I need to require that all users have Excel on the system or can I
interact with the spreadsheet without it?

TIA

Brad

Nov 21 '05 #3
Bradley,

They are not new, and I did not check them lately.

Office
http://support.microsoft.com/default...b;EN-US;311452

http://msdn.microsoft.com/office/

Pia Download
http://www.microsoft.com/downloads/d...displaylang=en

Excel dataset fill and updat
http://support.microsoft.com/default...b;EN-US;316934

Excel naar dataset
http://msdn.microsoft.com/library/de...ntodataset.asp

Excel object model
http://msdn.microsoft.com/library/de...l/ExcelObj.asp

Access Automate
http://support.microsoft.com/default...b;EN-US;317113

HOW TO: Call a Visual Basic .NET Class Library from Visual Basic for
Applications in Microsoft Office
http://support.microsoft.com/?kbid=317535

I hope that one of those helps a little bit?

Cor
Nov 21 '05 #4
Cor,

This is a lot of useful information. Thanks for the assistance!

Brad
"Cor Ligthert [MVP]" <no************@planet.nl> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
Bradley,

They are not new, and I did not check them lately.

Office
http://support.microsoft.com/default...b;EN-US;311452

http://msdn.microsoft.com/office/

Pia Download
http://www.microsoft.com/downloads/d...displaylang=en
Excel dataset fill and updat
http://support.microsoft.com/default...b;EN-US;316934

Excel naar dataset
http://msdn.microsoft.com/library/de...ntodataset.asp
Excel object model
http://msdn.microsoft.com/library/de...l/ExcelObj.asp
Access Automate
http://support.microsoft.com/default...b;EN-US;317113

HOW TO: Call a Visual Basic .NET Class Library from Visual Basic for
Applications in Microsoft Office
http://support.microsoft.com/?kbid=317535

I hope that one of those helps a little bit?

Cor

Nov 21 '05 #5

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

Similar topics

13
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...
3
by: Otie | last post by:
I found the following under the GetObject help notes and in the example for GetObject: "This example uses the GetObject function to get a reference to a specific Microsoft Excel worksheet...
6
by: Matthew Wieder | last post by:
I have the following requirements: Build a stand-alone C# application that asks the user to click in a cell in an Excel spreadsheet, and then displays the address of that cell in the C#...
14
by: pmud | last post by:
Hi, I need to use an Excel Sheet in ASP.NET application so that the users can enter (copy, paste ) large number of rows in this Excel Sheet. Also, Whatever the USER ENETRS needs to go to the...
22
by: Howard Kaikow | last post by:
There's a significant problem in automating Excel from VB .NET. Reminds me of a problem I encountered almost 3 years ago that was caused by the Norton Auntie Virus Office plug-in. Can anybody...
9
by: Anthony | last post by:
To me, creating Excel 2003 spreadsheets programmatically via VB.NET hasn't really changed since the days of VB6. That is, I'd do something similar to this Code: Dim ExcelApp As...
7
by: Alain \Mbuna\ | last post by:
Hi everybody. In my program I have some data that is calculated after some input from the user. I have written some code that opens an Excel workbook, with 5 worksheets and the calculated data...
16
by: alexia.bee | last post by:
Hi all, In some weird reason, excel instance won;t die if i remove the comment from 4 lines of setting values into struct. here is a snipcode public...
9
by: Doug Glancy | last post by:
I got the following code from Francesco Balena's site, for disposing of Com objects: Sub SetNothing(Of T)(ByRef obj As T) ' Dispose of the object if possible If obj IsNot Nothing AndAlso...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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
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,...

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.