+ Reply to Thread
Results 1 to 3 of 3

Change PDF File Name

  1. #1
    Banned User!
    Join Date
    09-26-2017
    Location
    USA
    MS-Off Ver
    2010
    Posts
    607

    Change PDF File Name

    Hello all,

    I have a macro run by the ''Save Checkstubs to PDF File' on the 'Paystubs'! sheet.
    Please is there a way to change the names of the PDF output files to:

    Employee Name - 2/25/2018 - 3/3/2018



    There will be other pay periods so I don't want to replace the files from previous weeks. The Employee Name is in D4 and the pay period is in D7 & E7. I'm not sure if having the dashes is the best way so I appreciate any suggestions.

    Thank you very much for your help,
    Billy
    Attached Files Attached Files

  2. #2
    Forum Expert mike7952's Avatar
    Join Date
    12-17-2011
    Location
    Florida
    MS-Off Ver
    Excel 2007, Excel 2016
    Posts
    3,520

    Re: Change PDF File Name

    Give this a try

    Please Login or Register  to view this content.
    Thanks,
    Mike

    If you are satisfied with the solution(s) provided, please mark your thread as Solved.
    Select Thread Tools-> Mark thread as Solved.

  3. #3
    Banned User!
    Join Date
    09-26-2017
    Location
    USA
    MS-Off Ver
    2010
    Posts
    607

    Re: Change PDF File Name

    Thank you Mike I will give it a try when I get back to the office. I noticed you have a file path added for your desktop. I'm curious can there be multiple file locations? The reason I ask is sometimes I work on different PCs but I will save a backup to my Google Drive.
    Last edited by Billy Spivy; 03-01-2018 at 07:21 AM.

+ 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. Worksheet Change Event - Save file after tenth change
    By nigelog in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-10-2017, 09:19 AM
  2. Replies: 4
    Last Post: 03-20-2016, 04:27 PM
  3. Linked File Paths Change When File is Moved
    By belewfripp in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 11-06-2013, 12:18 PM
  4. 4folders, 4files (file names change weekly) merge into one master file, as needed
    By alkangirl in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-01-2012, 08:28 PM
  5. Replies: 1
    Last Post: 11-01-2009, 05:01 AM
  6. External File(s) referenced and file links change based on row cell.
    By Jimmydageek in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 10-23-2009, 02:59 PM
  7. Replies: 1
    Last Post: 01-24-2006, 12:10 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