+ Reply to Thread
Results 1 to 5 of 5

VBA code update - save as PDF based on value

  1. #1
    Forum Contributor
    Join Date
    12-13-2012
    Location
    Italy
    MS-Off Ver
    Excel 2010
    Posts
    162

    VBA code update - save as PDF based on value

    Good day to all.

    I have the bellow code, but urgenlty need a little ammendment. Now it is printing out, but would like to save in PDF (in defined directory) with name from column J.

    Please Login or Register  to view this content.

  2. #2
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,523

    Re: VBA code update - save as PDF based on value

    Can you use your macro recorder and save it as a PDF? Once you have a code it can then be edited to save as a specific range.

  3. #3
    Forum Contributor
    Join Date
    12-13-2012
    Location
    Italy
    MS-Off Ver
    Excel 2010
    Posts
    162

    Question Re: VBA code update - save as PDF based on value

    Good day,

    no cannot because I need that file name is from selected range. For example pls check attached files. For each customer has to generate a file and name it as customer name - in these case "CUSTOMER 1", "CUSTOMER 2", ecc...

    excel sample:

    EXAMPLE.xlsx

    generated files:

    1.pdf

    2.pdf

    3.pdf

    Many THANKS

  4. #4
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,523

    Re: VBA code update - save as PDF based on value

    I repeat from my previous thread,
    Once you have a code it can then be edited to save as a specific range.

  5. #5
    Forum Contributor
    Join Date
    12-13-2012
    Location
    Italy
    MS-Off Ver
    Excel 2010
    Posts
    162

    Question Re: VBA code update - save as PDF based on value

    Good day,

    pls find attached bellow code. Now it is saving based on J4 value, but would like as per my previous post. Many thanks for help.


    Please Login or Register  to view this content.

+ 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. Replies: 6
    Last Post: 12-02-2015, 03:32 PM
  2. [SOLVED] Help with code to update cells based on another cell's data
    By V-Clan in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-02-2014, 11:13 AM
  3. Userform to Search based on Unique ID update and save data in an exel sheet
    By Rosco90 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-17-2013, 04:50 PM
  4. VBA code to update records based on user form
    By anfdrew in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-27-2013, 03:19 PM
  5. Vba code to update a cell value based on its current value and another cells value
    By g.h0st.snwbrd3r in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 06-12-2013, 02:52 PM
  6. VB Code To Update An Entry Based Upon # of Copies
    By Dpmark in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-18-2008, 09:02 AM
  7. [SOLVED] Shared Workbook; Update-on-Save not working when called from code?
    By Evan in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-04-2005, 04:06 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