+ Reply to Thread
Results 1 to 1 of 1

VBA help needed to replace titles with abbreviations

Hybrid View

  1. #1
    Registered User
    Join Date
    06-23-2014
    Location
    Singapore
    MS-Off Ver
    2010
    Posts
    9

    Exclamation VBA help needed to replace titles with abbreviations

    I have a catalogue naming project where I have to reduce the number of wordings for each product naming to 35 characters. I have to come up with a VBA that first reduce a one worded name of the Company to the first five letters, a 2 worded Company to the first 4 letters followed by initials and a 3 worded Company to the first 3 letters followed by initials. An example would be CATERPILLAR would be reduced to CATER, CATERPILLAR INDUSTRIES will be reduced to CATEI and CATERPILLAR INDUSTRIES LIMITED would be reduced to CATII.

    After which, I have to search the rest of the words contained in the product name and matches it with a list of abbreviations in 2 seperate columns (Eg. Column C &D). So for example the name is Dimo Industries Limited Bananas in Texas. It will be trancated to DIMIL BAN IN TEX. Where the list of abbreviations is Bananas=BAN, IN=IN and TEXAS=TEX.The company name can be differentiated from the other words by being words that do not belong to the list of abbreviations.

    Could someone help me with this??? Do Feel free to ask me for further clarification.
    Last edited by william1404; 06-23-2014 at 02:56 AM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Complex Filter/Sorting Help Needed (VBA knowledge needed)
    By dfxryanjr in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 07-03-2013, 01:39 PM
  2. [SOLVED] If and Then help needed please
    By AnneFr in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-29-2012, 05:28 AM
  3. Conditional formatting needed for shape colour - is programming needed?
    By Farmboyuk in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-14-2012, 07:27 AM
  4. help needed
    By todd22 in forum Excel General
    Replies: 3
    Last Post: 03-05-2006, 03:46 PM
  5. Help Needed! Plz!
    By antongucci in forum Excel General
    Replies: 3
    Last Post: 03-01-2005, 11:52 AM

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