+ Reply to Thread
Results 1 to 5 of 5

Auto Bulk Rename

  1. #1
    Registered User
    Join Date
    10-13-2010
    Location
    Canada
    MS-Off Ver
    Excel 2007
    Posts
    59

    Auto Bulk Rename

    Hello there,

    I was wondering if you guys could help me out.

    I have a single entry in a cell and I would like a quick way to create 26 unique entries from it with each letter in the alphabet.

    For example, lets say i have an entry in one of my cells called "resourcefinder.info" and I want to create 26 other unique entries that simply attach a letter of the alphabet to it allowing me to get something like this;

    aresourcefinder.info
    bresourcefinder.info
    bresourcefinder.info
    dresourcefinder.info
    eresourcefinder.info
    gresourcefinder.info
    hresourcefinder.info
    etc....


    Check my sample sheet attached.

    Thank for the help
    Attached Files Attached Files
    Last edited by Peeekay; 11-25-2010 at 11:49 AM.

  2. #2
    Forum Expert davegugg's Avatar
    Join Date
    12-18-2008
    Location
    WI, US
    MS-Off Ver
    2010
    Posts
    1,884

    Re: Auto Bulk Rename

    You can use the chr() function to add the letters. The lower case alphabet is numbers 97 - 122. I used basic arithmetic to get the answer in column B, cells 1 - 26.

    Please Login or Register  to view this content.
    Is your code running too slowly?
    Does your workbook or database have a bunch of duplicate pieces of data?
    Have a look at this article to learn the best ways to set up your projects.
    It will save both time and effort in the long run!


    Dave

  3. #3
    Forum Contributor
    Join Date
    07-05-2006
    Location
    Canada
    MS-Off Ver
    2003, 2007
    Posts
    581

    Re: Auto Bulk Rename

    If you don't want to use VBA, one way is to do it as follows:

    Put the name in a cell (say A2):
    A1: Name:
    B1: resourcefinder.info

    A3: 1
    A4: 2
    ...
    A28: 26

    B3: =CHAR(CODE("a")+A3-1)&$B$1
    [and drag down]

    S

  4. #4
    Registered User
    Join Date
    10-13-2010
    Location
    Canada
    MS-Off Ver
    Excel 2007
    Posts
    59

    Re: Auto Bulk Rename

    Quote Originally Posted by davegugg View Post
    You can use the chr() function to add the letters. The lower case alphabet is numbers 97 - 122. I used basic arithmetic to get the answer in column B, cells 1 - 26.

    Please Login or Register  to view this content.
    The macro worked well except for the fact that I want the letters to append to the name, not to another cell.

    Any ideas?

  5. #5
    Registered User
    Join Date
    10-13-2010
    Location
    Canada
    MS-Off Ver
    Excel 2007
    Posts
    59

    Re: Auto Bulk Rename

    did some research and figured out that simply adding this formula to an adjacent cell does the trick = A1&B2

    Thanks for the help everyone

+ 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