+ Reply to Thread
Results 1 to 3 of 3

Copy and rename PDF files

  1. #1
    Registered User
    Join Date
    10-04-2009
    Location
    Colchester, England
    MS-Off Ver
    Office 365
    Posts
    30

    Question Copy and rename PDF files

    Hi All,

    I was wondering if someone could help; I have a PDF file called Original.PDF and then a excel spreadsheet with 2 columns. The first is called class e.g. 10sxAC the second is called Name e.g. Chris Smith, there are about 400 entries. What I want to do is use this spreadsheet to automatically create a copy of the Original.PDF and rename them using the class and name so the resulting PDF file will be called something like "10SxAC-Chris Smith"

    I have seen discussions about this but not too sure how to go about it, I have good understanding of excel and a little understanding of macros (But cant write my own)

    Many thanks for any help

    Olly
    Last edited by Teacher; 12-10-2011 at 04:55 PM.

  2. #2
    Forum Expert mrice's Avatar
    Join Date
    06-22-2004
    Location
    Surrey, England
    MS-Off Ver
    Excel 2013
    Posts
    4,967

    Re: How to automatically rename PDF files from excel

    Try this macro

    Please Login or Register  to view this content.
    Open up the VBA editor by hitting ALT F11

    Insert a new module by hitting Insert - Module

    Paste the macro into the empty sheet

    Hit ALT F11 to get back to the worksheet.

    Run the macro by going to tools-macro in Excel 2003 or the view ribbon in Excel 2007.
    Martin

  3. #3
    Registered User
    Join Date
    10-04-2009
    Location
    Colchester, England
    MS-Off Ver
    Office 365
    Posts
    30

    Re: How to automatically rename PDF files from excel

    Thanks that worked a treat.

+ 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