+ Reply to Thread
Results 1 to 5 of 5

delete anything in colum "A" with more than 4 letters

  1. #1
    Registered User
    Join Date
    05-02-2011
    Location
    Northampton
    MS-Off Ver
    Excel 2010
    Posts
    8

    delete anything in colum "A" with more than 4 letters

    As the title suggests, I need a macro that will automatically look at colum A (except range A1) and then delete anything that is not alphabet letters i.e. a * or other charecters. Also need to delete if more than 4 letters long.

    Can you help?

    Thanks in advance
    Last edited by ollierice; 06-08-2011 at 05:31 AM.

  2. #2
    Valued Forum Contributor MaczaQ's Avatar
    Join Date
    06-03-2011
    Location
    Poland
    MS-Off Ver
    Excel 2003 / XP
    Posts
    510

    re: delete anything in colum "A" with more than 4 letters

    try this for delate string longer then 4 characters
    Please Login or Register  to view this content.
    Last edited by MaczaQ; 06-07-2011 at 07:08 AM.

  3. #3
    Forum Expert pike's Avatar
    Join Date
    12-11-2005
    Location
    Alstonville, Australia
    MS-Off Ver
    2016
    Posts
    5,342

    Re: delete anything in colum "A" with more than 4 letters

    ollierice

    Do you mean just keep cells with one to four letters only?

    Please Login or Register  to view this content.
    or remove numbers and symbols?
    If the solution helped please donate to RSPCA

    Site worth visiting: Rabbitohs

  4. #4
    Registered User
    Join Date
    05-02-2011
    Location
    Northampton
    MS-Off Ver
    Excel 2010
    Posts
    8

    Re: delete anything in colum "A" with more than 4 letters

    Thanks very much.

  5. #5
    Forum Expert pike's Avatar
    Join Date
    12-11-2005
    Location
    Alstonville, Australia
    MS-Off Ver
    2016
    Posts
    5,342

    Re: delete anything in colum "A" with more than 4 letters

    If you are satisfied with the solution(s) provided, please mark your thread as Solved.

    How to mark a thread Solved
    Go to the first post
    Click edit
    Click Go Advanced
    Just below the word Title you will see a dropdown with the word No prefix.
    Change to Solved
    Click Save

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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