+ Reply to Thread
Results 1 to 6 of 6

Macro code to find and delete numbers

  1. #1
    Registered User
    Join Date
    10-10-2007
    Posts
    11

    Macro code to find and delete numbers

    Is there a macro code that can find and delete numbers that are aligned at the right hand side.

    for instance:

    E1: The
    E2: Man
    E3: 3
    E4: Ran

    I need to find the number and delete the cell. Also the other cells should then shift up. Is this possible?

  2. #2
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258
    Hello Dtd509,

    You show a number in your post left aligned. Are the numbers that right aligned numbers, text, or both? I ask this because you don't mention if the data is imported from another source.

    Thanks,
    Leith Ross

  3. #3
    Registered User
    Join Date
    10-10-2007
    Posts
    11
    The numbers are on the right hand side of the cell, but they are actually not right aligned by definition. I only want to delete the cells that contains numbers only.

  4. #4
    Forum Expert
    Join Date
    09-09-2005
    Location
    England
    MS-Off Ver
    2007
    Posts
    1,500
    Please Login or Register  to view this content.
    regards

    Dav

  5. #5
    Registered User
    Join Date
    10-10-2007
    Posts
    11
    It is not deleting them they still remain in row E any thoughts why?

  6. #6
    Valued Forum Contributor
    Join Date
    04-11-2006
    Posts
    407
    How about something like this?
    Please Login or Register  to view this content.

+ 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