Mirandazhou
New Member
- Joined
- Sep 25, 2015
- Messages
- 9
Hi everyone, I'm relatively new to VBA and I am really struggling with the following task..
I am creating a huge excel file, and need to find out the names, from one row
[TABLE="width: 500"]
<tbody>[TR]
[TD]James LEE went to mall today[/TD]
[TD]James, Lee[/TD]
[/TR]
[TR]
[TD]Rental payment for Lee James[/TD]
[TD]James, Lee[/TD]
[/TR]
[TR]
[TD]Orders for JAMES LEE[/TD]
[TD]James, Lee[/TD]
[/TR]
[TR]
[TD]Kim Chazen got hired[/TD]
[TD]Kim, Chazen[/TD]
[/TR]
[TR]
[TD]Salary for Kim Chazen[/TD]
[TD]Kim, Chazen[/TD]
[/TR]
</tbody>[/TABLE]
I have keyword table as
[TABLE="width: 500"]
<tbody>[TR]
[TD]Kim, Chazen[/TD]
[/TR]
[TR]
[TD]James, Lee[/TD]
[/TR]
[TR]
[TD]Yang, Wang[/TD]
[/TR]
</tbody>[/TABLE]
The names shows in different format, sometimes James LEE, LEE James, James M Lee, so I cannot use lookup function directly in excel...
I really appreciate for the help! Thanks!
I am creating a huge excel file, and need to find out the names, from one row
[TABLE="width: 500"]
<tbody>[TR]
[TD]James LEE went to mall today[/TD]
[TD]James, Lee[/TD]
[/TR]
[TR]
[TD]Rental payment for Lee James[/TD]
[TD]James, Lee[/TD]
[/TR]
[TR]
[TD]Orders for JAMES LEE[/TD]
[TD]James, Lee[/TD]
[/TR]
[TR]
[TD]Kim Chazen got hired[/TD]
[TD]Kim, Chazen[/TD]
[/TR]
[TR]
[TD]Salary for Kim Chazen[/TD]
[TD]Kim, Chazen[/TD]
[/TR]
</tbody>[/TABLE]
I have keyword table as
[TABLE="width: 500"]
<tbody>[TR]
[TD]Kim, Chazen[/TD]
[/TR]
[TR]
[TD]James, Lee[/TD]
[/TR]
[TR]
[TD]Yang, Wang[/TD]
[/TR]
</tbody>[/TABLE]
The names shows in different format, sometimes James LEE, LEE James, James M Lee, so I cannot use lookup function directly in excel...
I really appreciate for the help! Thanks!