Results 1 to 4 of 4

Rename file and Create new file with new folder with macro/vba

Threaded View

  1. #1
    Registered User
    Join Date
    12-10-2011
    Location
    Indonesia
    MS-Off Ver
    Excel 2007
    Posts
    2

    Rename file and Create new file with new folder with macro/vba

    hi,

    I want to rename a file in collumn A to a new file with new folder. This column already represent the actualy file on the hardisk.
    column A ----> Output
    D:\01#j.txt --> D:\01\001.txt
    D:\01#x.txt --> D:\01\002.txt
    D:\02#b.txt --> D:\02\001.txt
    D:\03#a.txt --> D:\03\001.txt
    D:\03#b.txt --> D:\03\002.txt
    D:\03#g.txt --> D:\03\003.txt
    ...

    Output : making new folder exactly as i mention above.
    1. the folder represent the first name of the filename
    2. the namefile is a counter of how many firstname on the original filename.

    thanks in advance...
    Last edited by rizki96; 12-10-2011 at 07:15 AM.

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