简体   繁体   English

Powerpoint幻灯片:如何将我在一张幻灯片上的组合框和文本框控件复制到另一张相同演示文稿的幻灯片上?

[英]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.

相关问题 是否可以检查一个PowerPoint演示文稿中的幻灯片是否与另一个套牌中的幻灯片相同? - Is it possible to check if a slide in one PowerPoint presentation is the same as a slide in another deck? Select 基于幻灯片标签的 Powerpoint 幻灯片并复制到新的演示文稿中 - Select Powerpoint slides based on the slide tags and copy into a new presentation PowerPoint-如何在以下幻灯片中显示幻灯片1组合框中的值? - PowerPoint - How to display the Value from Slide 1 ComboBox in following slides? 在另一个 Powerpoint 演示文稿中嵌入来自其他 Powerpoint 演示文稿的幻灯片的链接副本 - Embed a linked copy of a slide from other Powerpoint presentation in another Powerpoint presentation 如何将模板从另一个 PowerPoint 复制到幻灯片中? - How to copy template into slide from another PowerPoint? 将一张幻灯片复制到多个演示文稿 - Copy one slide to multiple presentation 在 PowerPoint 演示文稿中复制幻灯片 - Duplicating a slide in PowerPoint presentation 如何根据特定的幻灯片输入将幻灯片从现有演示文稿复制到新演示文稿? - How to copy the slides from existing presentation to new presentation based on the specific slide input? 使用输入框将一个 PowerPoint 演示文稿的图形复制并粘贴到另一个 PowerPoint 演示文稿 - Copy and paste graph of one PowerPoint presentation to another PowerPoint presentation with inputbox 如何在PowerPoint幻灯片母版中更改特定的文本框 - How to change a specific textbox in a powerpoint slide master
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM