Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do you embed an Excel worksheet in VB 6?

Status
Not open for further replies.

ExcelGuy

Technical User
Jan 16, 2003
1
CA
I need to insert an Excel worksheet directly onto a form in VB, but I can't figure out how to do it. There is an Excel worksheet insertable object that can be added to the program from the componants, but I can't figure out how to get it to insert worksheet into the object.
If anyone has any idea of how to do this, please respond right away. Your help will be greatly appreciated.
 
you can use an OLE object on your form, then just choose Microsoft Excel worksheet for the object type.
Then you can choose the worksheet to use at design time or at run time(using the CreateEmbed method).

Let me know if u have more questions.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top