Excel_Blonde
New Member
- Joined
- Aug 8, 2018
- Messages
- 44
Hi I'm a very new self teacher of VBA so this is probably a very easy problem to solve.
I'm trying to write a code that will fill column B depending on the text in column A.
For example:
[TABLE="width: 500"]
<tbody>[TR]
[TD]This[/TD]
[TD]That[/TD]
[/TR]
[TR]
[TD]When[/TD]
[TD]Why[/TD]
[/TR]
[TR]
[TD]This[/TD]
[TD]That[/TD]
[/TR]
[TR]
[TD]Where[/TD]
[TD]Who[/TD]
[/TR]
[TR]
[TD]When[/TD]
[TD]Why[/TD]
[/TR]
</tbody>[/TABLE]
So if This is Found in Column A, Column B will fill with That, if Where is found in Column A, column B will fill with Who etc.
I can get it work for 1, but not for multiples.
Any help would be greatly appreciated.
I'm trying to write a code that will fill column B depending on the text in column A.
For example:
[TABLE="width: 500"]
<tbody>[TR]
[TD]This[/TD]
[TD]That[/TD]
[/TR]
[TR]
[TD]When[/TD]
[TD]Why[/TD]
[/TR]
[TR]
[TD]This[/TD]
[TD]That[/TD]
[/TR]
[TR]
[TD]Where[/TD]
[TD]Who[/TD]
[/TR]
[TR]
[TD]When[/TD]
[TD]Why[/TD]
[/TR]
</tbody>[/TABLE]
So if This is Found in Column A, Column B will fill with That, if Where is found in Column A, column B will fill with Who etc.
I can get it work for 1, but not for multiples.
Any help would be greatly appreciated.