[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Unit
[/TD]
[TD]Qty
[/TD]
[TD][/TD]
[TD][/TD]
[TD]Unit
[/TD]
[TD]Desc
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]TR-010
[/TD]
[TD]10
[/TD]
[TD][/TD]
[TD][/TD]
[TD]TR-010
[/TD]
[TD]Trenching in Roadway
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]TR-030
[/TD]
[TD]30
[/TD]
[TD][/TD]
[TD][/TD]
[TD]TR-020
[/TD]
[TD]Trenching in Sidewalk
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]TR-030
[/TD]
[TD]Trenching in Grass
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
Hello,
I was wondering if there is a vba code that can vlookup the value of a cell and return a description as a comment. See above for an example.
I want the comment in cell A2 to be F2 and the comment in A3 to be F4.
Thanks
[TABLE="width: 161"]
<tbody>[TR]
[TD="width: 64, bgcolor: transparent"][/TD]
[TD="width: 81, bgcolor: transparent"][/TD]
[TD="width: 69, bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent, align: right"][/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent, align: right"][/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent, align: right"][/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[/TR]
</tbody>[/TABLE]
<tbody>[TR]
[TD]Unit
[/TD]
[TD]Qty
[/TD]
[TD][/TD]
[TD][/TD]
[TD]Unit
[/TD]
[TD]Desc
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]TR-010
[/TD]
[TD]10
[/TD]
[TD][/TD]
[TD][/TD]
[TD]TR-010
[/TD]
[TD]Trenching in Roadway
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]TR-030
[/TD]
[TD]30
[/TD]
[TD][/TD]
[TD][/TD]
[TD]TR-020
[/TD]
[TD]Trenching in Sidewalk
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]TR-030
[/TD]
[TD]Trenching in Grass
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
Hello,
I was wondering if there is a vba code that can vlookup the value of a cell and return a description as a comment. See above for an example.
I want the comment in cell A2 to be F2 and the comment in A3 to be F4.
Thanks
[TABLE="width: 161"]
<tbody>[TR]
[TD="width: 64, bgcolor: transparent"][/TD]
[TD="width: 81, bgcolor: transparent"][/TD]
[TD="width: 69, bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent, align: right"][/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent, align: right"][/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent, align: right"][/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[/TR]
</tbody>[/TABLE]