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

excel ole sizing

Status
Not open for further replies.

blweb

Programmer
Oct 2, 2003
19
0
0
US
I am trying to control the size of the excel sheet that comes up from the OLE object in VB6.

I have put the control in a frame so that it doesn't autosize across the entire form. When I tell it to zoom or stretch to the size of the ole control, the width and height set themselves right, but the text in the sheet becomes so tiny and unreadable. If I tell it to act normally, the text is readable and the correct size, but the borders and all navigational thing (ie scrollbars and sheet tabs) are cut off the sheet due to size.

The property (.sizemode) isn't doing the trick. Does anyone have any ideas?

blweb
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top