truchiller
New Member
- Joined
- Jan 11, 2010
- Messages
- 4
Team,
I am using excel as a checkbook and would like to be able to
I have only found VB Scripting for sending whole page or workbook and not data strings specific. Any help is much appreciated -I am beyond my excel limitations now.
[TABLE="width: 533"]
<tbody>[TR]
[TD="width: 86, bgcolor: silver"]K[/TD]
[TD="width: 118, bgcolor: silver"]L[/TD]
[TD="width: 118, bgcolor: silver"]M [/TD]
[TD="width: 84, bgcolor: silver"]N[/TD]
[TD="width: 71, bgcolor: silver"]O[/TD]
[TD="width: 76, bgcolor: silver"]P[/TD]
[TD="width: 92, bgcolor: silver"]Q[/TD]
[TD="width: 66, bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="bgcolor: silver"]Req.#[/TD]
[TD="bgcolor: silver"]PO#[/TD]
[TD="bgcolor: silver"]Vendor ID[/TD]
[TD="bgcolor: silver"]Reqr.[/TD]
[TD="bgcolor: silver"]Date[/TD]
[TD="bgcolor: silver"]Status[/TD]
[TD="bgcolor: #BFBFBF"]Close PO?[/TD]
[TD="bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="bgcolor: #F2DCDB"]F2015709[/TD]
[TD="bgcolor: #F2DCDB"]PO# LLF20154096[/TD]
[TD="bgcolor: #F2DCDB"]Louies Lumber[/TD]
[TD="bgcolor: #F2DCDB"]J. Doe[/TD]
[TD="bgcolor: #F2DCDB, align: right"]1/1/2015[/TD]
[TD="bgcolor: #F2DCDB"][/TD]
[TD="width: 92, bgcolor: #FCD5B4"]
<tbody>
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"]
-- removed inline image ---
[/TD]
[TD="width: 3, bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
</tbody>[/TD]
[TD="bgcolor: transparent"]Row 7[/TD]
[/TR]
[TR]
[TD="bgcolor: #F2DCDB"]F2015713[/TD]
[TD="bgcolor: #F2DCDB"]PO# LLF20155017[/TD]
[TD="bgcolor: #F2DCDB"]Joes Paint[/TD]
[TD="bgcolor: #F2DCDB"]J. Doe[/TD]
[TD="bgcolor: #F2DCDB, align: right"]1/1/2015[/TD]
[TD="bgcolor: #F2DCDB"][/TD]
[TD="width: 92, bgcolor: #FCD5B4"]
<tbody>
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"]
-- removed inline image ---
[/TD]
[TD="width: 2, bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
</tbody>[/TD]
[TD="bgcolor: transparent"]Row 8[/TD]
[/TR]
[TR]
[TD="bgcolor: #F2DCDB"]F2015716[/TD]
[TD="bgcolor: #F2DCDB"]PO# LLF20155111[/TD]
[TD="bgcolor: #F2DCDB"]Marks Liquids[/TD]
[TD="bgcolor: #F2DCDB"]J. Doe[/TD]
[TD="bgcolor: #F2DCDB, align: right"]1/1/2015[/TD]
[TD="bgcolor: #F2DCDB"][/TD]
[TD="width: 92, bgcolor: #FCD5B4"]
<tbody>
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"]
-- removed inline image ---
[/TD]
[TD="width: 2, bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
</tbody>[/TD]
[TD="bgcolor: transparent"]Row 9[/TD]
[/TR]
[TR]
[TD="bgcolor: #F2DCDB"]F2015721[/TD]
[TD="bgcolor: #F2DCDB"]PO# LLF20155115[/TD]
[TD="bgcolor: #F2DCDB"]Sams Carpet[/TD]
[TD="bgcolor: #F2DCDB"]J. Doe[/TD]
[TD="bgcolor: #F2DCDB, align: right"]1/1/2015[/TD]
[TD="bgcolor: #F2DCDB"][/TD]
[TD="width: 92, bgcolor: #FCD5B4"]
<tbody>
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"]
-- removed inline image ---
[/TD]
[TD="width: 3, bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
</tbody>[/TD]
[TD="bgcolor: transparent"]Row 10[/TD]
[/TR]
</tbody>[/TABLE]
- JP
I am using excel as a checkbook and would like to be able to
- Create a function e-mail button - specific to each row line item
- Assign an e-mail action to the button when clicked
- Once the button is clicked - it pastes the word "Closed" into a specific cell P7:P375 - pending which row is active
- The e-mail would format the following:
- Open Outlook
- Autofill To: address@address.com -
- Autofill Cc: address@address.com
- Subject: "Action to Close Purchase Order"
- Body: "Team, please close and pay the following purchase order:" "Stringdata" (Information comes from L7:L375 & M7:M375 pending which row is active for sending e-mail) - so the button references only the data in that line in which the button is sitting on) "Thank you"
- For example: I want the following to happen
- Click Close PO Button on Row 7
- P7 Status now reads "Closed"
- E-mail Opens up
- To: Address@address.com
- Cc: Address@address.com
- Subject: Action to Close Purchase Order
- Body: "Team, please close and pay the following purchase order: PO#LLF20154096 - Louise Lumber." "Thank you."
- Click Send E-mail
- Now "Close PO" button grays out Q7
- And do a separate e-mail for each line item - not always in order either - so row 7, then row 9 (3) days later
- I can create a new sheet as well for e-mail addresses as these may change and need to be updated.
I have only found VB Scripting for sending whole page or workbook and not data strings specific. Any help is much appreciated -I am beyond my excel limitations now.
[TABLE="width: 533"]
<tbody>[TR]
[TD="width: 86, bgcolor: silver"]K[/TD]
[TD="width: 118, bgcolor: silver"]L[/TD]
[TD="width: 118, bgcolor: silver"]M [/TD]
[TD="width: 84, bgcolor: silver"]N[/TD]
[TD="width: 71, bgcolor: silver"]O[/TD]
[TD="width: 76, bgcolor: silver"]P[/TD]
[TD="width: 92, bgcolor: silver"]Q[/TD]
[TD="width: 66, bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="bgcolor: silver"]Req.#[/TD]
[TD="bgcolor: silver"]PO#[/TD]
[TD="bgcolor: silver"]Vendor ID[/TD]
[TD="bgcolor: silver"]Reqr.[/TD]
[TD="bgcolor: silver"]Date[/TD]
[TD="bgcolor: silver"]Status[/TD]
[TD="bgcolor: #BFBFBF"]Close PO?[/TD]
[TD="bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="bgcolor: #F2DCDB"]F2015709[/TD]
[TD="bgcolor: #F2DCDB"]PO# LLF20154096[/TD]
[TD="bgcolor: #F2DCDB"]Louies Lumber[/TD]
[TD="bgcolor: #F2DCDB"]J. Doe[/TD]
[TD="bgcolor: #F2DCDB, align: right"]1/1/2015[/TD]
[TD="bgcolor: #F2DCDB"][/TD]
[TD="width: 92, bgcolor: #FCD5B4"]
<tbody>
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"]
-- removed inline image ---
[/TD]
[TD="width: 3, bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
</tbody>
[TD="bgcolor: transparent"]Row 7[/TD]
[/TR]
[TR]
[TD="bgcolor: #F2DCDB"]F2015713[/TD]
[TD="bgcolor: #F2DCDB"]PO# LLF20155017[/TD]
[TD="bgcolor: #F2DCDB"]Joes Paint[/TD]
[TD="bgcolor: #F2DCDB"]J. Doe[/TD]
[TD="bgcolor: #F2DCDB, align: right"]1/1/2015[/TD]
[TD="bgcolor: #F2DCDB"][/TD]
[TD="width: 92, bgcolor: #FCD5B4"]
<tbody>
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"]
-- removed inline image ---
[/TD]
[TD="width: 2, bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
</tbody>
[TD="bgcolor: transparent"]Row 8[/TD]
[/TR]
[TR]
[TD="bgcolor: #F2DCDB"]F2015716[/TD]
[TD="bgcolor: #F2DCDB"]PO# LLF20155111[/TD]
[TD="bgcolor: #F2DCDB"]Marks Liquids[/TD]
[TD="bgcolor: #F2DCDB"]J. Doe[/TD]
[TD="bgcolor: #F2DCDB, align: right"]1/1/2015[/TD]
[TD="bgcolor: #F2DCDB"][/TD]
[TD="width: 92, bgcolor: #FCD5B4"]
<tbody>
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"]
-- removed inline image ---
[/TD]
[TD="width: 2, bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
</tbody>
[TD="bgcolor: transparent"]Row 9[/TD]
[/TR]
[TR]
[TD="bgcolor: #F2DCDB"]F2015721[/TD]
[TD="bgcolor: #F2DCDB"]PO# LLF20155115[/TD]
[TD="bgcolor: #F2DCDB"]Sams Carpet[/TD]
[TD="bgcolor: #F2DCDB"]J. Doe[/TD]
[TD="bgcolor: #F2DCDB, align: right"]1/1/2015[/TD]
[TD="bgcolor: #F2DCDB"][/TD]
[TD="width: 92, bgcolor: #FCD5B4"]
<tbody>
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"]
-- removed inline image ---
[/TD]
[TD="width: 3, bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
</tbody>
[TD="bgcolor: transparent"]Row 10[/TD]
[/TR]
</tbody>[/TABLE]
- JP