Control #rows shown on Embedded Excel Workbook

auramae

New Member
Joined
May 12, 2013
Messages
1
HI,

I am a newbie at excel programming, I am using Office 2010. I was able to successfully embed an excel workbook on powerpoint. I wanted to ask about controlling the number of rows visible on the embedded excel workbook. I had tried resizing the handles on the OLE object but it resizes the objects but still shows the same number of rows. Please advise. I have attached a picture of the current scenario. I am using this code to embed the object.



Set ppShape = ppSlide.Shapes.AddOLEObject(Left:=50, Top:=50, Width:=600, Height:=500, Filename:=".xls", displayasicon:=msoFalse)


edit



If picture is not visible, please click on the link below.
https://docs.google.com/file/d/0B2UFfugYGdv8ckEtS1lkR1FIWXM/edit?usp=sharing


Thanks,

Aura
 
Last edited:

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top