Export the PPT content as a jpg image

Source: Internet
Author: User
To view the courseware content in the PPT file in MP4, you can convert the PPT file to an e-book (txt), or convert it to an image for Image Browsing.
PowerPoint was not saved as a TXT file. I found a macro online and met this requirement. It feels good.

Sub macrox ()
'
'Macro is created by Zim, And the date is 2007-10-5.
'
Dim NX as shape
Dim X as long
For x = 1 to activepresentation. Slides. Count
'Jump to the specified phantom.
'Activewindow. View. gotoslide x
'Register as a Phantom ghost film.
'Activewindow. View. Slide. slideindex
'Activewindow. selection. sliderange. Shapes
For each NX in activepresentation. Slides (x). Shapes
If NX. type = 14 or NX. type = 1 then DEBUG. Print NX. textframe. textrange. Text
Next
'The phantom film to the Phantom
Activepresentation. Slides (x). Export "D: \" & X & ". jpg", ". jpg"
Next

End sub

Run this macro to export the content in this PPT as a jpg image.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.