+ Reply to Thread
Results 1 to 5 of 5

Renaming JPG images

  1. #1
    Forum Contributor
    Join Date
    06-12-2007
    Posts
    144

    Renaming JPG images

    I know this probably cant be done but its worth asking:

    I have 1 column of image filenames (JPG)
    And a second column of what they need to be renamed to, or saved as.

    Can I write a macro to either rename JPG files, or load and save as JPG images with the new filenames?



    If not, does anyone have suggestions on how it might be done using other software or scripting?

  2. #2
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258
    Hello Treva26,

    This macro code will allow you to rename and relocate the file copy.

    Please Login or Register  to view this content.
    Sincerely,
    Leith Ross

  3. #3
    Forum Contributor
    Join Date
    06-12-2007
    Posts
    144
    Brilliant thank you!

    How can I make it delete the original file?

    This is the code I have so far, which works well:
    (the cells contain the whole pathname and extension)

    Please Login or Register  to view this content.
    Attached Files Attached Files

  4. #4
    Forum Contributor
    Join Date
    06-12-2007
    Posts
    144
    It also stops around row 276 for some reason...

  5. #5
    Forum Contributor
    Join Date
    06-12-2007
    Posts
    144

    Smile

    Its OK I got it:

    Please Login or Register  to view this content.
    Thanks again

+ 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