【AI辅助办公】PDF转PPT,移除水印

PDF转PPT将PDF上传链接即可转换成PPT。 https://www.camscanner.com/pdftoppthttps://www.camscanner.com/pdftoppt​​​​​​​​​​​​​​移除水印

第一步:打开视图-宏

第二步:输入宏名(可以是人以文字、字母或数字加字母,但不能是纯数字)

第三步:点击创建

第四步:复制以下代码

代码用ChatGPT生成,告诉它,你要实现的功能,生成相应的宏代码,宏代码是VB语言

以下是用于删除所有页面中包含特定文本内容的 PowerPoint VBA 宏代码:

vbscript 复制代码
Sub DeleteTextContainingChinaUniversity()
    Dim oSlide As Slide
    Dim oShape As Shape
    Dim searchText As String
    
    searchText = "中国大学"
    
    For Each oSlide In ActivePresentation.Slides
        For Each oShape In oSlide.Shapes
            If oShape.HasTextFrame Then
                If InStr(1, oShape.TextFrame.TextRange.Text, searchText, vbTextCompare) > 0 Then
                    oShape.Delete
                End If
            End If
        Next oShape
    Next oSlide
End Sub

如果您想要删除所有页中相同位置的文稿(图片、文字等),可以使用以下修改后的宏代码:

vbscript 复制代码
Sub DeleteSamePositionShapesOnAllSlides()
    Dim oSlide As Slide, oShape As Shape
    Dim shapeToDelete As Collection
    Dim shape As Shape
    
    On Error Resume Next

    ' Collect shapes with the same position as the first selected shape
    Set shapeToDelete = New Collection
    If ActiveWindow.Selection.ShapeRange.Count > 0 Then
        Dim firstShape As Shape
        Set firstShape = ActiveWindow.Selection.ShapeRange(1)
        
        For Each oSlide In ActivePresentation.Slides
            For Each oShape In oSlide.Shapes
                If oShape.Top = firstShape.Top And oShape.Left = firstShape.Left _
                    And oShape.Height = firstShape.Height And oShape.Width = firstShape.Width Then
                    shapeToDelete.Add oShape
                End If
            Next oShape
        Next oSlide
    End If

    ' Delete collected shapes
    For Each shape In shapeToDelete
        shape.Delete
    Next shape
End Sub

第五步:删除原来的"宏代码"

第六步:将复制的文字粘贴到打开的"宏代码"空白处

第七步:关闭或最小化"宏代码"文档

第八步:在原文档中点击选中要删除的图片或其他对象

第九步:点击宏-运行

至此,所有相同位置的文搞对象都已经删除,点击"保存"就可以了

这样,你就可以把PDF变成自己的原创PPT,做任意修改了。

相关推荐
RAOY的AI笔记12 小时前
ChatGPT怎么用得更专业?Prompt工程、API调用与AI Agent工作流实战
人工智能·chatgpt·prompt
wangruofeng15 小时前
ChatGPT Images 2.5 技术解读:图像生成从能力展示转向工程体验
chatgpt·aigc·openai
請你喝杯Java20 小时前
网站部署平台怎么选:Vercel、Cloudflare、ChatGPT Sites 的区别、费用与国内访问
chatgpt·cloudflare·vercel
dunge202621 小时前
2026年9月8日|ChatGPT Pro + Codex:用 GPT‑6 Astra 重做自动化测试
gpt·chatgpt
精彩AI说21 小时前
ChatGPT整理SOP总是步骤不完整?流程拆解、输入输出与异常情况整理方法
chatgpt·流程管理·ai工具·办公效率·sop
承渊政道1 天前
【从零开始大模型开发与微调:基于PyTorch与ChatGLM】(实战训练自己的ChatGPT从续写模型到对齐助手:RLHF、奖励模型与PPO精读)
人工智能·pytorch·chatgpt·预训练·rlhf·大模型微调
乃嘿仔1 天前
AI 热点日报 · 2026-09-04
人工智能·chatgpt
ServBay1 天前
GPT-6 Astra 发布,当 AI 开始自己操作电脑,AGI 还远吗?
gpt·chatgpt·openai
精彩AI说2 天前
ChatGPT照着参考文档改内容为什么总跑偏?模板结构、字段对应与格式约束方法
chatgpt·ai工具·办公效率·文档整理·chatgpt教程·模板改写
浩风祭月2 天前
GPT-6 Astra API怎么接?Responses API迁移、异步工具调用与兼容项清单
人工智能·chatgpt·大模型·openai api·gpt-6 astra