+ Reply to Thread
Results 1 to 3 of 3

Macro for removing all numbers except last 4 digits.

  1. #1
    Registered User
    Join Date
    12-05-2012
    Location
    Columbia, SC
    MS-Off Ver
    Excel 2010
    Posts
    2

    Macro for removing all numbers except last 4 digits.

    I have a problems and have looked everywhere to find a solution. Here is my situation:

    I have a spreadsheet the list social security numbers. Some cells are blank. I have a macro that will convert the number, but when it hits a cell with nothing in it, it past in the macro as a answer.

    How can I tell it to skip the cells with nothing in them?

    Thanks.

  2. #2
    Forum Expert Jakobshavn's Avatar
    Join Date
    08-17-2012
    Location
    Lakehurst, NJ, USA
    MS-Off Ver
    Excel 2007
    Posts
    1,970

    Re: Macro for removing all numbers except last 4 digits.

    How about:

    Please Login or Register  to view this content.
    Gary's Student

  3. #3
    Registered User
    Join Date
    12-05-2012
    Location
    Columbia, SC
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: Macro for removing all numbers except last 4 digits.

    I was looking right at it and missed it.

    This does great. Thank you.

+ 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