ALT+F11调出开发窗口

 

加入引用

ppt提取文字

 

插入模块

ppt提取文字

输入代码运行

 1 Sub Main()
 2     On Error Resume Next
 3     Dim temp As New Word.Document, tmpShape As Shape, tmpSlide As Slide
 4     For Each tmpSlide In ActivePresentation.Slides
 5         For Each tmpShape In tmpSlide.Shapes
 6             temp.Range().Text = temp.Range() + tmpShape.TextFrame.TextRange.Text
 7         Next tmpShape
 8     Next tmpSlide
 9     temp.Application.Visible = True
10 End Sub

 

相关文章:

  • 2021-12-27
  • 2022-12-23
  • 2022-01-24
  • 2021-12-06
  • 2021-11-17
  • 2021-12-22
  • 2021-10-15
猜你喜欢
  • 2021-04-09
  • 2022-12-23
  • 2021-08-26
  • 2021-12-20
  • 2021-11-19
  • 2022-12-23
  • 2021-05-11
相关资源
相似解决方案