Jyggalag
Active Member
- Joined
- Mar 8, 2021
- Messages
- 445
- Office Version
- 365
- 2019
- Platform
- Windows
Dear all,
I am currently working on a spreadsheet that looks like this, albeit the real one is much larger:
I was wondering if there would be some way in which I could create a macro or some VBA code attached to a macro where, once i press it, it takes the e-mails from C2-C12 and takes the first name and puts it in column A and the last name in column B. Almost all of the emails that I work with have emails that basically follow a rule of "Firstname.Lastname@email.com". If they do not have this first name separated from the last name by a dot ".", I would like for the macro to return the value "X" and "X" for both first name and last name in column A and B.
Is this possible? And if so, how might I carry out such a task?
Thank you so much for your time and assistance everybody! It is greatly appreciated.
Please let me know if you have questions or need further information and I will respond ASAP.
Kindest regards,
Jyggalag.
I am currently working on a spreadsheet that looks like this, albeit the real one is much larger:
I was wondering if there would be some way in which I could create a macro or some VBA code attached to a macro where, once i press it, it takes the e-mails from C2-C12 and takes the first name and puts it in column A and the last name in column B. Almost all of the emails that I work with have emails that basically follow a rule of "Firstname.Lastname@email.com". If they do not have this first name separated from the last name by a dot ".", I would like for the macro to return the value "X" and "X" for both first name and last name in column A and B.
Is this possible? And if so, how might I carry out such a task?
Thank you so much for your time and assistance everybody! It is greatly appreciated.
Please let me know if you have questions or need further information and I will respond ASAP.
Kindest regards,
Jyggalag.