+ Reply to Thread
Results 1 to 3 of 3

Save As PDF to excel workbook location

  1. #1
    Forum Contributor
    Join Date
    03-16-2012
    Location
    Halifax, UK
    MS-Off Ver
    MS Office 365
    Posts
    206

    Save As PDF to excel workbook location

    Is there a macro that will save an excel sheet into a destination folder that uses the workbooks location?
    We have a purchase order workbook that has several Purchase order sheets on. This is then put into a specific order file
    e.g.
    Z:\PVE\2-Parking Ventilation Equipment\6-Orders\1234 - Company Ref - Site Ref\Purchasing Info
    The location above would change in part (order number, company ref and site ref), this location will be in the excel workbook once copied into the folder.
    I need the macro to save as pdf (using excel addin) and save it as the worksheet tab name then locate it in the excel workbook location as above.
    This is the code I have to start with, this works well and saves as a pdf into the location shown and names it as the activesheet tab name.


    Please Login or Register  to view this content.

  2. #2
    Forum Guru HaHoBe's Avatar
    Join Date
    02-19-2005
    Location
    Hamburg, Germany
    MS-Off Ver
    work: 2016 on Win10 (notebook), private: 2019 on Win10 (desktop), 2019 on Win11 (notebook)
    Posts
    8,197

    Re: Save As PDF to excel workbook location

    Hi, kieranm105,

    give this a try:
    Please Login or Register  to view this content.
    Ciao,
    Holger
    Use Code-Tags for showing your code: [code] Your Code here [/code]
    Please mark your question Solved if there has been offered a solution that works fine for you

  3. #3
    Forum Contributor
    Join Date
    03-16-2012
    Location
    Halifax, UK
    MS-Off Ver
    MS Office 365
    Posts
    206

    Re: Save As PDF to excel workbook location

    Thanks Holger that works great and copies to other sheets.
    :D
    Kieran

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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