[英]Powerpoint slides: how to copy my combobox and textbox controls on one slide to a another slide, same presentation?
Powerpoint Slides: Trying to create duplicate slides so that user can, on each slide, 1. select an option 2. enter free text. Powerpoint幻灯片:尝试创建重复的幻灯片,以便用户可以在每张幻灯片上1.选择一个选项2.输入自由文本。
I have the following VBA and controls in Slide2, I want to copy everything, including combobox and textbox, from slide2 for any/all subsequent slides. 我在Slide2中具有以下VBA和控件,我想从slide2复制任何/所有后续幻灯片的所有内容,包括组合框和文本框。 I want an easy way to do this.
我想要一个简单的方法来做到这一点。 just copying or duplicating the slides will not allow users to make selections or add free text on any slides after slide2 (the original).
仅复制或复制幻灯片将不允许用户在slide2(原始)之后的任何幻灯片上进行选择或添加自由文本。 Although the controls still APPEAR on the subsequent slides, no selection or typing can be made.
尽管控件仍显示在后续幻灯片上,但无法进行选择或键入。 Subsequent slides contain the VBA script but not any controls copied over?
后续幻灯片包含VBA脚本,但没有复制任何控件吗? I'm new-ish to this so not sure all of my language is correct here.(i used to know how to do all this stuff about 12 years ago, lol)
我对此很陌生,所以不确定在这里我的语言是否正确(大约十二年前我曾经知道如何做所有这些事情,哈哈)
Please tell me there is a fast and easy way to do this! 请告诉我有一种快速简便的方法来做到这一点! It's taken me all afternoon to teach myself the current script (combo/text boxes) and research a slide copy fix, to no avail.
我花了整个下午来自学当前的脚本(组合/文本框)并研究幻灯片副本修复,但无济于事。
Here's my simple script for the combo box and textbox from slide2. 这是我来自slide2的组合框和文本框的简单脚本。
Private Sub ComboBox1_DropButtonClick()
If ComboBox1.ListCount = 0 Then
With ComboBox1
.AddItem "Select One", 0
.AddItem "Accept", 1
.AddItem "Reject", 2
ComboBox1.ListRows = 3
End With
End If
End Sub
Private Sub TextBox1_Change()
End Sub
Not sure if I understand everything you want, but this duplicates slide 1, including all the code belonging to the controls in the slide: 不知道我是否了解您想要的所有内容,但这与幻灯片1重复,包括幻灯片中控件的所有代码:
ActivePresentation.Slides(1).Duplicate
Let me know if there's something I'm missing 让我知道我是否缺少什么
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.