With ActivePresentation For i = 1To .Slides.Count ForEach s In .Slides(i).Shapes If s.Name = "Nombre"Then s.Delete Next s Next i EndWith
EndSub
Sub Exclude()
With ActiveWindow.Selection If .Type = ppSelectionNone ThenExitSub ForEach s In .SlideRange If Len(s.Name) < excp_str_len Or Right(s.Name, excp_str_len) <> excp_str Then s.Name = s.Name & excp_str Next s EndWith
MsgBox "スライドを除外設定しました."
EndSub
Sub Include()
With ActiveWindow.Selection If .Type = ppSelectionNone ThenExitSub ForEach s In .SlideRange If Len(s.Name) >= excp_str_len And Right(s.Name, excp_str_len) = excp_str Then s.Name = Mid(s.Name, 1, Len(s.Name) - excp_str_len) Next s EndWith
MsgBox "スライドの除外設定を解除しました."
EndSub
Sub IncludeAll()
ActivePresentation.Slides.Range.Select Call Include
EndSub
Sub Coordinate()
Dim l, t AsLong
l = ActiveWindow.Selection.ShapeRange.Left t = ActiveWindow.Selection.ShapeRange.Top