+ Reply to Thread
Results 1 to 11 of 11

Changing doc name of .pdf in mass

  1. #1
    Forum Contributor
    Join Date
    08-08-2015
    Location
    North Carolina USA
    MS-Off Ver
    MS Office 2016
    Posts
    368

    Changing doc name of .pdf in mass

    Is there a way to change the file name of many .pdf's for a list in excel?

    Example:

    Current File Name Needs to be
    10429104 FLORIDA1
    53292422 FLORIDA2
    23432823 FLORIDA3

    Each document current name and the name it needs to change to would be unique.

  2. #2
    Forum Contributor
    Join Date
    08-08-2015
    Location
    North Carolina USA
    MS-Off Ver
    MS Office 2016
    Posts
    368

    Re: Changing doc name of .pdf in mass

    Wanted to make the separation clear
    Example:

    Current File Name / Needs to be
    10429104 / FLORIDA1
    53292422 / FLORIDA2
    23432823 / FLORIDA3

  3. #3
    Forum Contributor Obsessed's Avatar
    Join Date
    05-22-2013
    Location
    Cincinnati, Ohio
    MS-Off Ver
    Excel 365
    Posts
    215

    Re: Changing doc name of .pdf in mass

    Assuming you have dimmed and set the file directory, and have headers for current file name/needs to be (so first data is in row 2)...

    Please Login or Register  to view this content.
    Last edited by Obsessed; 11-06-2015 at 02:47 PM.
    Want to show appreciation for the help you received from a member? Give them reps by clicking the bottom left of their post!

  4. #4
    Forum Contributor
    Join Date
    08-08-2015
    Location
    North Carolina USA
    MS-Off Ver
    MS Office 2016
    Posts
    368

    Re: Changing doc name of .pdf in mass

    Can you explain to me how to dim and set the file directory?

  5. #5
    Forum Contributor Obsessed's Avatar
    Join Date
    05-22-2013
    Location
    Cincinnati, Ohio
    MS-Off Ver
    Excel 365
    Posts
    215

    Re: Changing doc name of .pdf in mass

    Basically if you look at the code I provided, check out the "SavePath" which I already dimensioned in the code...basically put your save path directory there...such as "C:\Users\Owner\Folder1\"

  6. #6
    Forum Contributor
    Join Date
    08-08-2015
    Location
    North Carolina USA
    MS-Off Ver
    MS Office 2016
    Posts
    368

    Re: Changing doc name of .pdf in mass

    Oh okay, I thought I had to dim before the running it.... I tried that and got a run time error 53, file not found? (The path I entered is correct..)

    The debug referenced this line

    Name SavePath & OldFileName As SavePath & NewFileName

  7. #7
    Forum Contributor Obsessed's Avatar
    Join Date
    05-22-2013
    Location
    Cincinnati, Ohio
    MS-Off Ver
    Excel 365
    Posts
    215

    Re: Changing doc name of .pdf in mass

    Make sure you have the &" .pdf" in there. I edited the code to reflect that right after I posted...forgot about that.

    Please Login or Register  to view this content.

  8. #8
    Forum Contributor
    Join Date
    08-08-2015
    Location
    North Carolina USA
    MS-Off Ver
    MS Office 2016
    Posts
    368

    Re: Changing doc name of .pdf in mass

    I got the same error.. Here is the info I am using. I also tried no spaced in the column names example.PNGexample2.PNG

  9. #9
    Forum Contributor Obsessed's Avatar
    Join Date
    05-22-2013
    Location
    Cincinnati, Ohio
    MS-Off Ver
    Excel 365
    Posts
    215

    Re: Changing doc name of .pdf in mass

    You told me your file path was right.

    Use "\" instead of "/" and you'll need a "\" at the end as well:

    Please Login or Register  to view this content.

  10. #10
    Forum Contributor
    Join Date
    08-08-2015
    Location
    North Carolina USA
    MS-Off Ver
    MS Office 2016
    Posts
    368

    Re: Changing doc name of .pdf in mass

    something so small! That worked, thank you!

  11. #11
    Forum Contributor Obsessed's Avatar
    Join Date
    05-22-2013
    Location
    Cincinnati, Ohio
    MS-Off Ver
    Excel 365
    Posts
    215

    Re: Changing doc name of .pdf in mass

    No problem, glad to help!

+ 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. Need help in mass formulae changing using VBA
    By Ainabaen in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-18-2013, 11:06 AM
  2. [SOLVED] Mass changing upper case to lower case letters
    By jonathan.haynes in forum Excel Formulas & Functions
    Replies: 28
    Last Post: 09-05-2012, 04:34 PM
  3. Replies: 3
    Last Post: 02-27-2012, 05:39 PM
  4. changing links in a spreadsheet en mass
    By oliverm in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-26-2011, 05:22 PM
  5. Mass filter
    By flopez82 in forum Excel Programming / VBA / Macros
    Replies: 29
    Last Post: 03-10-2011, 06:51 PM
  6. Mass changing source data
    By ggzor in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 04-08-2010, 04:11 AM
  7. Excel 2007 : is a mass convert of this possible?
    By midian777 in forum Excel General
    Replies: 8
    Last Post: 02-05-2010, 04:13 PM
  8. Changing letter case on mass
    By be-nice-2-me in forum Excel General
    Replies: 6
    Last Post: 05-05-2008, 09:51 AM

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