Opengist Logo 清羽飞扬の代码片段

Explore

  • All gists
  • Topics
  • Users
个人主页 站长博客
Give feedback on the new UI Powered by Opengist ⋅ 13ms

user:thomas gists created by user

title:mygist gists with given title

description:sync gists with given description

filename:myfile.txt gists having files with given name

extension:yml gists having files with given extension

language:go gists having files with given language

topic:homelab gists with given topic

all:systemctl search all fields

Login Register
P

PPT

Recently created Least recently created Recently updated Least recently updated
LiuShen

LiuShen / 快速提取所有ppt中的文本内容

Last active 2 months ago Convert PPT TXT VBA

利用visual basic将PPT中的所有文本提取出来

0 0 1
1 Sub ExportText()
2 Dim oPres As Presentation
3 Dim oSlides As Slides
4 Dim oSld As Slide 'Slide Object
5 Dim oShp As Shape 'Shape Object
6 Dim iFile As Integer 'File handle for output
7 iFile = FreeFile 'Get a free file number
8 Dim PathSep As String
9 Dim FileNum As Integer
10 Dim sTempString As String