Hello
Please refer to attached file.
I need VB Code to Split out Last Name, First Name and SS# as shown in Column D,E and F for source in column C
Let me know if you have any questions.
Thanks.
Riz
Hello
Please refer to attached file.
I need VB Code to Split out Last Name, First Name and SS# as shown in Column D,E and F for source in column C
Let me know if you have any questions.
Thanks.
Riz
I would probably use the Split function as below:
Please Login or Register to view this content.
Last edited by CheeseSandwich; 05-25-2022 at 02:18 AM.
If things don't change they stay the same
If last name would always be the 1st set of nonblank characters, immediately followed by a comma, a space, the 1st name as the next set of nonblank characters, a space or newline, the 2 words Soc Sec#, space and ###-##-####, then for the VBA variable c set to cell C2,
This sets D2 to the last name, E2 to the 1st name and F2 to the Social Security number. Put that in a loop to generalize.Please Login or Register to view this content.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks