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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Embedding Excel in an OLE container

Status
Not open for further replies.

Pipe2Path

Programmer
Aug 28, 2001
60
I am having trouble sizing the instance of the Excel spreadsheet into an OLE container control in VB. It doesn't fill up the entire control, and so the user has to resize it manually.

Would anyone be able to help me with how to resize the embedded object to fit the control fully? I have tried the SizeMode constants, but none of them seem to work.

Thanks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top