+ Reply to Thread
Results 1 to 7 of 7

Converting Active PPT to PDF

  1. #1
    Forum Contributor
    Join Date
    09-19-2017
    Location
    London
    MS-Off Ver
    2015
    Posts
    169

    Exclamation Converting Active PPT to PDF

    Hi!

    I have this code in which it is supposed to convert an active PowerPoint to PDF to specific address. But I get the "Run-time error: 424, object required". May anyone enlighten me the reason?

    Here's my code:

    Please Login or Register  to view this content.
    Thanks in advance!

    P/s: if you would like to give any other codes that you have done previously, I would very much appreciate it as well.

  2. #2
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,721

    Re: Converting Active PPT to PDF

    This code is for PowerPoint but you have posted in an Excel forum. Are you trying to run this code in Excel?

    Assuming you are doing this in PowerPoint, change parameter as shown:

    Please Login or Register  to view this content.
    If you are doing this in Excel, there's a lot more we need to talk about.
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

  3. #3
    Forum Contributor
    Join Date
    09-19-2017
    Location
    London
    MS-Off Ver
    2015
    Posts
    169

    Re: Converting Active PPT to PDF

    Thank you, Jeff.

    Yes, I would like to run this code from Excel. My bad. Will try to do research more on this as I am new in this. But thank you for the answer.

  4. #4
    Forum Contributor
    Join Date
    09-19-2017
    Location
    London
    MS-Off Ver
    2015
    Posts
    169

    Re: Converting Active PPT to PDF

    Hi all,

    Please Login or Register  to view this content.
    Does the code above allows it to be run from Excel? If it is, then I can start from here.

  5. #5
    Forum Expert macropod's Avatar
    Join Date
    12-22-2011
    Location
    Canberra, Australia
    MS-Off Ver
    Word, Excel & Powerpoint 2003 & 2010
    Posts
    3,726

    Re: Converting Active PPT to PDF

    Cross-posted at: http://www.vbaexpress.com/forum/show...PT-to-PDF-file
    Please read Excel Forum's Cross-Posting policy in rule 8: http://www.excelforum.com/forum-rule...rum-rules.html
    Cheers,
    Paul Edstein
    [Fmr MS MVP - Word]

  6. #6
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,721

    Re: Converting Active PPT to PDF

    Quote Originally Posted by ell_ View Post
    Does the code above allows it to be run from Excel? If it is, then I can start from here.
    Looks like the right idea but you can test it to confirm.

  7. #7
    Forum Contributor
    Join Date
    09-19-2017
    Location
    London
    MS-Off Ver
    2015
    Posts
    169

    Re: Converting Active PPT to PDF

    Thank you.

    Would you mind to delete this thread? Since this is a wrong section of the forum and should be asked at another section.

    Thanks, Jeff.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Help converting macro to apply to all sheets instead of active.
    By taylorsm in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 09-18-2016, 01:12 PM
  2. Replies: 4
    Last Post: 07-03-2015, 04:27 AM
  3. Replies: 1
    Last Post: 07-07-2014, 09:19 AM
  4. Converting macro from functioning on active sheet to a designated sheet.
    By glide2131 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-25-2014, 11:53 PM
  5. Selecting an active worksheet AND an active table that keep changing names!
    By brucemc777 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-12-2014, 10:22 PM
  6. Macro to Print active sheet as PDF to Active workbook and customize name
    By Scott Taylor in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 12-17-2012, 08:52 PM
  7. Replies: 1
    Last Post: 12-03-2012, 08:55 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1