473,322 Members | 1,494 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,322 software developers and data experts.

insert a spreadsheet control at design time

mpg
using vb express 2005
trying to insert a spreadsheet control onto a form.
i have added the reference for excel object 11.0
i cant figure out where to FIND the object to paste the control on my form
at design-time.

hope someone can help (it's easy in access-vba, but i cant figure it out
here)
mike g
Sep 11 '06 #1
3 2439
Try this:

Display the main form in your project.
In the Toolbox, right-click on the Components header (any of the
categories will do, this just makes it easier to find). Select
Add/Remove items.
In the box that appears, select the COM Components tab.
Check the box next to "Microsoft Office Spreadsheet 11.0" and click OK.
That will produce an Excel control that you can drag to your form.

Hope that helps!
Nate

Sep 11 '06 #2
mpg
oh yah..!!!

thanks a bunch for that.
i was about to write my own spreadsheet control with draw functions. yikes.
"Nate" <ho**************@gmail.comwrote in message
news:11*********************@p79g2000cwp.googlegro ups.com...
Try this:

Display the main form in your project.
In the Toolbox, right-click on the Components header (any of the
categories will do, this just makes it easier to find). Select
Add/Remove items.
In the box that appears, select the COM Components tab.
Check the box next to "Microsoft Office Spreadsheet 11.0" and click OK.
That will produce an Excel control that you can drag to your form.

Hope that helps!
Nate

Sep 11 '06 #3
You're welcome! If you can help it, don't reinvent the wheel... :-)

Sep 11 '06 #4

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

Similar topics

0
by: news | last post by:
I have no idea if this is a Linux issue or PHP. Looking for clues here. I have a PHP script which I use to upload a CSV spreadsheet into a mySQL database. (The script follows here in a sec.) I...
2
by: Colleyville Alan | last post by:
I have been working on an application that queries data from Access, loads it into an array, and then writes it to an Excel spreadsheet. I use the array approach to have fine control over spacing,...
7
by: Shimon Sim | last post by:
I have a custom composite control I have following property
6
by: twoeyedhuman1111 | last post by:
Does anyone know of any c++ libraries that can load some spreadsheet from a file and manipulate it? I'm making a simple address book so I can learn applications design and I'm trying to store...
1
by: jimc52 | last post by:
I work for a food company where we design new food products. I have an Access Database where I keep track of all the ingredents we use in the company, and add new ones daily. What I want to do is...
3
by: Chris | last post by:
I have a problem which is quite similar to the problem of recalculating a spreadsheet. I have a collection of cells (actually individual objects in my problem). Some cells contain data, but many...
4
by: Bob | last post by:
Hi all, I'm trying to import data, modify the data then insert it into a new table. The code below works fine for it but it takes a really long time for 15,000 odd records. Is there a way I...
3
by: spowel4 | last post by:
I need some help with this please: I'm looping through some data to total some figures. Each time the total is calculated I need to insert that total into an excel spreadsheet cell, A2 for...
5
by: gerry | last post by:
I am trying to create a custom container control that will only ever contain a specific type of control. At design time, when a control of a different type is added to the container I would like...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

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.