Help!

Grouping picture/shapes with VBA - PPT 2007

 
Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> General Discussions RSS
Next:  Changing language of Office 2010  
Author Message
Renaat Sohl
External


Since: Mar 05, 2012
Posts: 1



PostPosted: Mon Mar 05, 2012 10:10 am    Post subject: Grouping picture/shapes with VBA - PPT 2007
Archived from groups: microsoft>public>powerpoint (more info?)


I am trying to create a bit of VBA code in Powerpoint that will scroll through a slide and group all shapes that are of the type msoPicture.

I have tried to create a range and then apply the Group function to that range.

To create the range I am going through all shapes and add the names of the shapes that are pictures to a string (like ArrayStr = "Shape 1",'Shape 7","Shape 9"). I than enter that string into the range by using an array (like range(array(ArrayStr)).

But when I do so the systems puts " " around the string which makes it unreadable to the array. (at least that seems the problem to me).

Can anyone tell me how I should do this?
Back to top
Display posts from previous:   
Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> General Discussions All times are: Eastern Time (US & Canada)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum