用光标选择读取ppt文件 [英] reading of ppt file with cursor selection

查看:83
本文介绍了用光标选择读取ppt文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好朋友,我对读取ppt文件形状有疑问.如果用户将光标放在幻灯片中的一个形状上,我想读取水平线中的内容.我能够读取一个形状值,但是如果有两个形状并排显示侧面如何读取第二个形状.
例如,在一张幻灯片中,如果用户将光标放在shape1上,则可以显示[shape1] [shape2],以便它可以读取shape1以及形状2的值.

hello friend ,i have question about reading ppt file shapes.if user put cursor on one shape in slide i want to read the content in horizontal line.i have able to read one shape value but if there are two shape side by side how can read second shape.
e.g in one slide there is [shape1] [shape2] if user put cursor on shape1 so it can read value of shape1 as well as shape two.

推荐答案

可以'您不只是去浏览幻灯片中的形状集合吗?

VBA:
Can''t you just go trough the collection of shapes in slide?

VBA:
Set slds = ActivePresentation.Slides(1)
Dim sh as Shape = Nothing

For Each sh in slds.Shapes
    'do some action
Next sh




形状对象(PP 2007) [形状对象成员 [




Shape Object (PP 2007)[^]
Shape Object Members[^]


这篇关于用光标选择读取ppt文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆