I need help big time! ! ! Click here to help me !

eric86vabeach

New Member
Joined
Jan 29, 2014
Messages
23
[TABLE="width: 500"]
<tbody>[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]Button
<here></here>[/TD]
[TD]Button
<here></here>[/TD]
[TD]Button
<here></here>[/TD]
[TD]Button
<here></here>[/TD]
[TD]Button
<here></here>[/TD]
[TD]Button
<here></here>[/TD]
[TD]Button
<here></here>[/TD]
[TD]Button
<here></here>[/TD]
[TD]Button
<here></here>[/TD]
[TD]Button
<here></here>[/TD]
[TD]Button
<here></here>[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]column letters[/TD]
[TD]BA[/TD]
[TD]BB[/TD]
[TD]BC[/TD]
[TD]BD[/TD]
[TD]BE[/TD]
[TD]BF[/TD]
[TD]BG[/TD]
[TD]BH[/TD]
[TD]BI[/TD]
[TD]BK[/TD]
[TD]BL[/TD]
[TD]BM[/TD]
[TD]BN[/TD]
[TD]BO[/TD]
[TD]BP[/TD]
[TD]BQ[/TD]
[TD]BR[/TD]
[TD]BS[/TD]
[TD]BT[/TD]
[TD]BU[/TD]
[TD]BV[/TD]
[/TR]
[TR]
[TD]row #[/TD]
[TD]email[/TD]
[TD]name[/TD]
[TD]bday[/TD]
[TD]january[/TD]
[TD]march[/TD]
[TD]april[/TD]
[TD]may[/TD]
[TD]June[/TD]
[TD]july[/TD]
[TD]aug[/TD]
[TD]sep[/TD]
[TD]oct[/TD]
[TD]nov[/TD]
[TD]dec[/TD]
[TD][/TD]
[TD]SUBJECT -->[/TD]
[TD]sub here[/TD]
[TD]mail body-->[/TD]
[TD]mail body here[/TD]
[TD]FILE att. ->[/TD]
[TD]file source here[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[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D]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]

cell BA3 i have code "=IF(MONTH(BC3)=1,AH3,"")"
in cell BE3 i have code"=IF(MONTH(BC3)=2,AH3,"")"
and so on till cell "BO3"

and then the code would be copy till row 100 or so


on the top of cells BD:BO there would a button that sends email only to the emails that are in that column and you would be able to change the email by typing in the row that is sent so the email would be in cell "BT" also if i wanted to add a file as an att. i would be in cell "BV"


ok i know this is a lot of work i dont think 1 person can do it all so if one person can help with one thing and maybe we can get this all done together thanks all :)





this code would help me



Sub sendemail()
'
' sendemail Macro
'
Dim olapp As Outlook.Application
Set olapp = CreateObject("Outlook.Application")
Dim olMail As Outlook.MailItem
Dim myAttachments As Outlook.attachments
Set olMail = olapp.CreateItem(olMailItem)
olMail.To = Sheet5.Range("?") 'im not sure
olMail.Subject = Sheet5.Range("AZ")
olMail.body = Sheet5.Range("ba")
olMail.Send




End Sub
Sub massemail2()


'
' massemail2 Macro
'

row_number = 2


Do
DoEvents
row_number = row_number + 1
Dim mail_body_message As String
Dim full_name As String
Dim promo_code As String
'mail_body_message = Sheet5.Range("ba")
full_name = Sheet5.Range("?" & row_number) & " " & 'im not sure Sheet5.Range("h" & row_number)
'promo_code = Sheet5.Range("bz" & row_number)
mail_body_message = Replace(mail_body_message, "replace_name_here", full_name)
mail_body_message = Replace(mail_body_message, "promo_code_replace", promo_code)
'MsgBox mail_body_message
Call sendemail(Sheet4.Range("L" & row_number), "this is a test email", mail_body_message)
Loop Until row_number = 6

'need help with this part also the loop until blank row would help also

End Sub
 
Last edited:

Excel Facts

Waterfall charts in Excel?
Office 365 customers have access to Waterfall charts since late 2016. They were added to Excel 2019.

Forum statistics

Threads
1,223,244
Messages
6,170,976
Members
452,372
Latest member
Natalie18

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top