Results 1 to 12 of 12

Assign a number to items from a keyword in the name

Threaded View

  1. #8
    Forum Contributor
    Join Date
    09-22-2012
    Location
    Berkeley, CA
    MS-Off Ver
    Excel 2010
    Posts
    112

    Re: Assign a number to items from a keyword in the name

    Quote Originally Posted by samuelabyrd View Post
    Thank you for the help. I'm not sure I'm clear on what portions of the code I need to edit. Please advise.
    Are you asking where to place the code in the workbook?

    1. Open the VBA editor. Not 100% sure how to do that in excel 2003, but try using alt+F11; otherwise, google how to open it for your version.
    2. Insert a new module. Google for instructions for this as well.
    3. Paste the above code into the module.
    4. Type in the formula "= AssignNumber(CellNumberGoesHere)" into the cell and it should assign the id number.

    Edit: fixed typo in line #4 as per following reply
    Last edited by Cofad; 01-24-2013 at 02:09 PM.

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