+ Reply to Thread
Results 1 to 2 of 2

Saving an Excel File as PDF in the same location as the Excel File

  1. #1
    Registered User
    Join Date
    01-14-2013
    Location
    Derby
    MS-Off Ver
    Excel 2007
    Posts
    28

    Saving an Excel File as PDF in the same location as the Excel File

    Hi,

    I have some script for setting the print area and saving as PDF. However, this is saving to a personal file XLSTART. Is there code to save the PDF file in the same folder as where the Excel file is saved?

    Help as always greatly appreciated.

    Thanks.
    Last edited by gallen6945; 10-24-2023 at 05:32 AM.

  2. #2
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,607

    Re: Saving an Excel File as PDF in the same location as the Excel File

    Administrative Note:

    We would very much like to help you with your query, however you need to include code tags around your code.

    Please take a moment to add the tags. Posting code between [code]Please [url=https://www.excelforum.com/login.php]Login or Register [/url] to view this content.[/code] tags makes your code much easier to read and copy for testing, and it also maintains VBA formatting.

    Please see Forum Guideline #2 about code tags and adjust accordingly. Click on Edit to open your post, then highlight your code and click the # icon at the top of your post window. More information about these and other tags can be found here.

+ 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 Specific location as an excel file & pdf
    By Sugarprincess21 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-24-2022, 01:01 AM
  2. Saving a copied selection from Excel file as specifically named CSV file does not work
    By ExcellentVBA in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-14-2022, 07:28 AM
  3. [SOLVED] Help with VBA to automate saving file in specific location and file name with dates
    By fornight in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-10-2017, 08:07 AM
  4. Replies: 0
    Last Post: 09-01-2014, 04:45 PM
  5. Creating a .txt file extracting information from a Excel file saving as .resx file
    By AbdallahHajbed in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-19-2012, 09:00 AM
  6. [SOLVED] saving file name and location with excel macro
    By Alex Suardi in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-02-2005, 06:20 PM
  7. saving file name and location with excel macro
    By Alex Suardi in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-02-2005, 06:17 PM

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