We don’t allow questions seeking recommendations for software libraries, tutorials, tools, books, or other off-site resources. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(2)
非常适合入门 PowerPoint VBA。
Perfect for beginning PowerPoint VBA.
寻找名字之类的
选择一个形状并逐步执行此宏,并突出显示或观察变量的值
Sub Shape_name()
Let x = ActiveWindow.Selection.ShapeRange(1).Name
Let y = ActiveWindow.Selection.ShapeRange(1).Type
Let Z = ActiveWindow .Selection.ShapeRange(1).Id
让 a = ActiveWindow.Selection.ShapeRange(1).OLEFormat.ProgID
让 b = ActiveWindow.Selection.ShapeRange(1).Height
让 c = ActiveWindow.Selection.ShapeRange(1).Width
设 D = ActiveWindow.Selection.ShapeRange(1).Left
设 E = ActiveWindow.Selection.ShapeRange(1).Top
End Sub
To find names and such
Select a shape and step through this macro and highlight or watch the variables for values
Sub Shape_name()
Let x = ActiveWindow.Selection.ShapeRange(1).Name
Let y = ActiveWindow.Selection.ShapeRange(1).Type
Let Z = ActiveWindow.Selection.ShapeRange(1).Id
Let a = ActiveWindow.Selection.ShapeRange(1).OLEFormat.ProgID
Let b = ActiveWindow.Selection.ShapeRange(1).Height
Let c = ActiveWindow.Selection.ShapeRange(1).Width
Let D = ActiveWindow.Selection.ShapeRange(1).Left
Let E = ActiveWindow.Selection.ShapeRange(1).Top
End Sub