Last active
June 8, 2016 05:12
-
-
Save xight/70bd50dbc76d4b4b5cc050bde853fd95 to your computer and use it in GitHub Desktop.
PowerPointで指定した名前のShapeを最背面に移動させるマクロ
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sub SendtoBack() | |
Dim sld As Slide | |
Dim sh As Shape | |
targetNameArr = Array("Picture 6", "Content Placeholder 6") | |
For Each sld In ActivePresentation.Slides | |
For Each sh In sld.Shapes | |
For Each targetName In targetNameArr | |
If sh.Name = targetName Then | |
sh.ZOrder (msoSendToBack) | |
End If | |
Next | |
Next | |
Next | |
End Sub |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment