+ Reply to Thread
Results 1 to 4 of 4

Saving pdf in the same path selected by user

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

    Question Saving pdf in the same path selected by user

    Hi, all

    I have this code where it prompts users to select a PPT file in which they want to convert to PDF. But I'm having issue in altering the code in which the converted file needs to be saved in the same folder which contains the PPT file and also can be named by users. Any idea on how to alter it? Currently the address of the PDF file has to be edited in the VBA code manually.

    Here's my code:

    Please Login or Register  to view this content.
    Your help will be really appreciated. Thanks in advance.
    Last edited by ell_; 12-27-2017 at 04:58 AM.

  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,677

    Re: Saving pdf in the same path selected by user

    Update the line as shown below, which will save the PDF using the same path and filename as the PowerPoint file (instead of "try.pdf").

    Please Login or Register  to view this content.
    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: Saving pdf in the same path selected by user

    Thank you so much, it works!

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

    Re: Saving pdf in the same path selected by user

    You're welcome! Thanks for the rep, and thanks for marking your thread Solved!

+ 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. saving to a specific file path
    By cartica in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-05-2013, 04:06 PM
  2. 2 cells as path for saving as
    By graiggoriz in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-24-2013, 08:31 AM
  3. [SOLVED] User's choice to several checkbox options will place user name on selected worksheets
    By SLJones in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-02-2013, 12:03 PM
  4. [SOLVED] Save As Dialog Box - Default Path and File Name, User Selects Sub Folder from Default Path
    By christenprochaska in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-12-2012, 05:17 PM
  5. Saving to the current workbooks path and file name
    By TyeReece in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-25-2010, 10:16 AM
  6. Path for File Saving Defined by USER
    By crapmind in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-21-2007, 09:58 AM
  7. [SOLVED] Saving a file to a different path
    By SVTman74 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-26-2005, 04:05 PM
  8. Saving excel backup copy - path?
    By ac in forum Excel General
    Replies: 1
    Last Post: 02-04-2005, 06:07 PM

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