+ Reply to Thread
Results 1 to 4 of 4

Rename files with VBA

  1. #1
    Registered User
    Join Date
    12-11-2009
    Location
    Edinburgh, Scotland
    MS-Off Ver
    Excel 2007
    Posts
    4

    Rename files with VBA

    Afternoon,

    I want to rename some files in a folder using vba.
    Preferable what I would like to do is
    a)find file x in folder a
    b)rename file x to xy

    Please can you help,

    Cheers,

    Michelle

  2. #2
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,436

    Re: Rename files with VBA

    you can make use of the NAME command.

    From help file.
    Please Login or Register  to view this content.
    Cheers
    Andy
    www.andypope.info

  3. #3
    Registered User
    Join Date
    12-11-2009
    Location
    Edinburgh, Scotland
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Rename files with VBA

    Thanks Andy! I've got it working now.

    Cheers,

    Michelle

  4. #4
    Valued Forum Contributor
    Join Date
    07-21-2008
    Location
    London, UK
    Posts
    326

    Re: Rename files with VBA

    Be very care wil this one -- TEST FISRT
    Please Login or Register  to view this content.
    Bit hardcore but your see what i mean

+ 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