Hi, I've looked at previous threads about changing Social Security Numbers but haven't seen what I'm looking for. I need VBA code that I can distribute to multiple people who aren't great with excel in order to clean up 9 digit social security numbers and replace them with just the last 4 digits.
I need the code to work across a variety of files, and to replace the original value, not just add a new column with the RIGHT(4). I also need it to work based on just the selected active column, rather than a predefined column reference. I thought I could do it with text to columns, but it appears to break down with values that don't include leading 0's.
I've looked at the stuff in this thread excelforum.com/excel-programming-vba-macros/776671-shortening-a-social-security-number-to-last-4-digits.html but those seem to add a new column rather than replace the original.
Any help would be tremendously appreciated!
Thanks
Bookmarks