Dear All,
I have 3 macros to send emails from the excel. The purposeof the macro is to select the dates in the raw file , which is selected by theuser and send the email.
1st macro does the selection of the datesaccording to the user input.
2nd macro does the sending of the emails (where Irequire help)
3rd macro sends the reminder email.
----
1st macro creates a different sheet and put allthe selected dates and dates would be highlighted with yellow colour i.e
[TABLE="width: 463"]
<tbody>[TR]
[TD="width: 176"] [/TD]
[TD="width: 135"] [/TD]
[TD="width: 132"] [/TD]
[TD="width: 175"] [/TD]
[/TR]
[TR]
[TD="width: 176"] [/TD]
[TD="width: 135"] [/TD]
[TD="width: 132"] [/TD]
[TD="width: 175"] [/TD]
[/TR]
[TR]
[TD="width: 176"] [/TD]
[TD="width: 135"] [/TD]
[TD="width: 132"] [/TD]
[TD="width: 175"] [/TD]
[/TR]
[TR]
[TD="width: 176"] [/TD]
[TD="width: 135"] [/TD]
[TD="width: 132"] [/TD]
[TD="width: 175"] [/TD]
[/TR]
</tbody>[/TABLE]
In the same sheet, in column AA all the dates will be put ina row by the 1st macro.i.e
[TABLE="width: 77"]
<tbody>[TR]
[TD="width: 104, bgcolor: transparent"] [/TD]
[/TR]
[TR]
[TD="width: 104, bgcolor: transparent"] [/TD]
[/TR]
</tbody>[/TABLE]
While sending the email, I would like to copy the headercolumn and paste into the subject line.i.e.
[TABLE="width: 127"]
<tbody>[TR]
[TD="width: 169"] [/TD]
[/TR]
[TR]
[TD="width: 169"] [/TD]
[/TR]
[TR]
[TD="width: 169"] [/TD]
[/TR]
[TR]
[TD="width: 169"] [/TD]
[/TR]
</tbody>[/TABLE]
As the dates would not be static, hence we are not able todevelop a code.
Warm Regards
Switto
I have 3 macros to send emails from the excel. The purposeof the macro is to select the dates in the raw file , which is selected by theuser and send the email.
1st macro does the selection of the datesaccording to the user input.
2nd macro does the sending of the emails (where Irequire help)
3rd macro sends the reminder email.
----
1st macro creates a different sheet and put allthe selected dates and dates would be highlighted with yellow colour i.e
[TABLE="width: 463"]
<tbody>[TR]
[TD="width: 176"]
Receive Information From The Reviewee
[TD="width: 135"]
Send Second Request (Reminder) To The Reviewee (If No Response Is Received)
[TD="width: 132"]
Send Final Request (Reminder) To The Reviewee (If No Response Is Received)
[TD="width: 175"]
Set-up QMT And Begins Procedural Review
[/TR]
[TR]
[TD="width: 176"]
30-Jul-18
[TD="width: 135"]
30-Jul-18
[TD="width: 132"]
30-Jul-18
[TD="width: 175"]
16-Dec-18
[/TR]
[TR]
[TD="width: 176"]
30-Jul-18
[TD="width: 135"]
30-Jul-18
[TD="width: 132"]
30-Jul-18
[TD="width: 175"]
30-Jul-18
[/TR]
[TR]
[TD="width: 176"]
15-Dec-18
[TD="width: 135"]
30-Jul-18
[TD="width: 132"]
30-Jul-18
[TD="width: 175"]
30-Jul-18
[/TR]
</tbody>[/TABLE]
In the same sheet, in column AA all the dates will be put ina row by the 1st macro.i.e
[TABLE="width: 77"]
<tbody>[TR]
[TD="width: 104, bgcolor: transparent"]
15-12-2018
[/TR]
[TR]
[TD="width: 104, bgcolor: transparent"]
16-12-2018
[/TR]
</tbody>[/TABLE]
While sending the email, I would like to copy the headercolumn and paste into the subject line.i.e.
[TABLE="width: 127"]
<tbody>[TR]
[TD="width: 169"]
“Receive Information From The Reviewee”
(the above said line should come in the sub. Line)
[/TR]
[TR]
[TD="width: 169"]
30-Jul-18
[/TR]
[TR]
[TD="width: 169"]
30-Jul-18
[/TR]
[TR]
[TD="width: 169"]
15-Dec-18
[/TR]
</tbody>[/TABLE]
As the dates would not be static, hence we are not able todevelop a code.
Warm Regards
Switto