S
snicks
I've created a PPT and embedded an XLS with 11 columns by 16 rows of data. I
only want to display 3 columns by 3 rows of data. If I double-click on the
embedded XLS I can resize the XLS such that only 3 columns and 3 rows of data
are displayed. I would like to do this with a VBA macro.
My first attempt at dealing with this was to record a PPT macro of my
actions. This is what was recorded.
ActiveWindow.Selection.SlideRange.Shapes("Object 4").Select
ActiveWindow.Selection.ShapeRange.OLEFormat.DoVerb Index:=1
ActiveWindow.Selection.Unselect
The resizing of the embedded XLS was not recorded. I also tried recording
an XLS macro of this resizing and nothing was recorded at all. I then tried
bolding some XLS text and that was record but still the resizing of the XLS
to only show 3 columns by 3 rows of data was not recorded.
How can I resize the embedded XLS with VBA?
Thank you.
only want to display 3 columns by 3 rows of data. If I double-click on the
embedded XLS I can resize the XLS such that only 3 columns and 3 rows of data
are displayed. I would like to do this with a VBA macro.
My first attempt at dealing with this was to record a PPT macro of my
actions. This is what was recorded.
ActiveWindow.Selection.SlideRange.Shapes("Object 4").Select
ActiveWindow.Selection.ShapeRange.OLEFormat.DoVerb Index:=1
ActiveWindow.Selection.Unselect
The resizing of the embedded XLS was not recorded. I also tried recording
an XLS macro of this resizing and nothing was recorded at all. I then tried
bolding some XLS text and that was record but still the resizing of the XLS
to only show 3 columns by 3 rows of data was not recorded.
How can I resize the embedded XLS with VBA?
Thank you.