Share via

How do I programmatically select multiple shapes into a shape range powerpoint

Anonymous
2012-01-19T16:32:56+00:00

How do I programatically select multiple shapes in the active  slides shaperange using Ppowerpoint VSTO which does not seemt to support the "array" function

PowerPoint.Globals.ThisAddin.Application.ActiveWindow.Selection.SlideRange.Shapes.Range(Array("BulletParagraph1", "BulletParagraph2").Select

Microsoft 365 and Office | PowerPoint | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

Anonymous
2012-02-02T17:52:12+00:00

This should work:

PowerPoint.Globals.ThisAddin.Application

.ActiveWindow.Selection.SlideRange.Shapes.Range(

new string[]

{

"BulletParagraph1",

"BulletParagraph2"

}).Select();

"Kenny AA" wrote in message news:******@communitybridge2.codeplex.com.custompowerpoint...

How do I programatically select multiple shapes in the active  slides shaperange using Ppowerpoint VSTO which does not seemt to support the "array" function

PowerPoint.Globals.ThisAddin.Application.ActiveWindow.Selection.SlideRange.Shapes.Range(Array("BulletParagraph1", "BulletParagraph2").Select


http://answers.microsoft.com/message/6859837f-df36-4ba6-9b43-48e889755a9c
Meta tags: customize; office_2010; custompowerpoint

Thu, 19 Jan 2012 16:32:56 +0000: CreateMessage Kenny AA
Fri, 20 Jan 2012 11:28:23 +0000: Edit Kenny AA

Fri, 20 Jan 2012 11:29:54 +0000: Edit Kenny AA

Was this answer helpful?

0 comments No comments

0 additional answers

Sort by: Most helpful