frankandsteph
New Member
- Joined
- Aug 22, 2018
- Messages
- 15
Hello All, I am sort of new to VBA and have a very specific macro requirement I need some help with, hopefully I can explain it well.
1. Column A & B has around 1000 lines of data (maybe much more) that contains blank/crappy data and valid data
2. Column A has a persons name 1 cell above the email
3. Column A has other data, not name or email, that are use less and could be blank
4. Column B has data related to the name/email called "DOB: MM/DD/YYYY"
5. Column B DOB could be in one of two cells directly next to (Column B) name (Column A) or one cell over and up from name
Column A..........Column B
<blank>blank..................blank
blank..................DOB: MM/DD/YYY
Jim Brown............blank <blank>
jim@comcast.net..blank<blank>
or
Column A..................Column B
<blank><blank>blank..........................blank
Jim Brown................DOB: MM/DD/YYY
jim@comcast.net..........blank <blank>
I would like to extract these 3 parts to H,I and J columns and loop all the way down until there is no more email addresses.
<blank>Blank could actually be blank or simply data that is not needed. DOB is always either over one or over one up one from name, Name is always up one from email address
Does this make sense?
Frank</blank></blank></blank></blank></blank></blank></blank>
1. Column A & B has around 1000 lines of data (maybe much more) that contains blank/crappy data and valid data
2. Column A has a persons name 1 cell above the email
3. Column A has other data, not name or email, that are use less and could be blank
4. Column B has data related to the name/email called "DOB: MM/DD/YYYY"
5. Column B DOB could be in one of two cells directly next to (Column B) name (Column A) or one cell over and up from name
Column A..........Column B
<blank>blank..................blank
blank..................DOB: MM/DD/YYY
Jim Brown............blank <blank>
jim@comcast.net..blank<blank>
or
Column A..................Column B
<blank><blank>blank..........................blank
Jim Brown................DOB: MM/DD/YYY
jim@comcast.net..........blank <blank>
I would like to extract these 3 parts to H,I and J columns and loop all the way down until there is no more email addresses.
<blank>Blank could actually be blank or simply data that is not needed. DOB is always either over one or over one up one from name, Name is always up one from email address
Does this make sense?
Frank</blank></blank></blank></blank></blank></blank></blank>
Last edited: