pontybiker
Board Regular
- Joined
- Oct 27, 2015
- Messages
- 73
Hi,
If possible, I would like the ability to select text from an excel workbook and email it to an email address. The email address would be dependent on what text is in a certain cell.
This is an example of the workbook containing the data (workbook A):[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Sport[/TD]
[TD]£1[/TD]
[TD]£2[/TD]
[TD]AAAA[/TD]
[/TR]
[TR]
[TD]Education[/TD]
[TD]£2[/TD]
[TD]£2[/TD]
[TD]BBBB[/TD]
[/TR]
[TR]
[TD]Managment[/TD]
[TD]£6[/TD]
[TD]£1[/TD]
[TD]CCCC[/TD]
[/TR]
[TR]
[TD]Art[/TD]
[TD]£4[/TD]
[TD]£3[/TD]
[TD]DDDD[/TD]
[/TR]
</tbody>[/TABLE]
This is an example of the email workbook (workbook B);
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Sport[/TD]
[TD]j@j.com[/TD]
[/TR]
[TR]
[TD]Education[/TD]
[TD]b@j.com[/TD]
[/TR]
[TR]
[TD]Management[/TD]
[TD]g@j.com[/TD]
[/TR]
[TR]
[TD]Art[/TD]
[TD]k@j.com[/TD]
[/TR]
</tbody>[/TABLE]
So the code would need to email the row of text in workbook A to the email address in workbook B by matching the text in column A in workbook A to the correct email address in column B in workbook B.
I hope this makes sense. I realise this may be asking a lot. As always, I honestly do appreciate anyone's help with these questions.
Kind regards,
J.
If possible, I would like the ability to select text from an excel workbook and email it to an email address. The email address would be dependent on what text is in a certain cell.
This is an example of the workbook containing the data (workbook A):[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Sport[/TD]
[TD]£1[/TD]
[TD]£2[/TD]
[TD]AAAA[/TD]
[/TR]
[TR]
[TD]Education[/TD]
[TD]£2[/TD]
[TD]£2[/TD]
[TD]BBBB[/TD]
[/TR]
[TR]
[TD]Managment[/TD]
[TD]£6[/TD]
[TD]£1[/TD]
[TD]CCCC[/TD]
[/TR]
[TR]
[TD]Art[/TD]
[TD]£4[/TD]
[TD]£3[/TD]
[TD]DDDD[/TD]
[/TR]
</tbody>[/TABLE]
This is an example of the email workbook (workbook B);
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Sport[/TD]
[TD]j@j.com[/TD]
[/TR]
[TR]
[TD]Education[/TD]
[TD]b@j.com[/TD]
[/TR]
[TR]
[TD]Management[/TD]
[TD]g@j.com[/TD]
[/TR]
[TR]
[TD]Art[/TD]
[TD]k@j.com[/TD]
[/TR]
</tbody>[/TABLE]
So the code would need to email the row of text in workbook A to the email address in workbook B by matching the text in column A in workbook A to the correct email address in column B in workbook B.
I hope this makes sense. I realise this may be asking a lot. As always, I honestly do appreciate anyone's help with these questions.
Kind regards,
J.