I'm using the following code to email to persons. I have a table tblAllCalls>R30_DivList with the DivName and Email. I would like to include more than one recipients in the email field
Set DB = CurrentDb
Set rs = DB.OpenRecordset("tblAllCalls>R30_DivList", dbOpenDynaset)
Set DivisionName = rs![DivName]
Set DivEmail = rs![Email]
strEmailHeader = "Calls"
strEmailBody = "This spreadsheet"
Do While rs.EOF = False
strTblEmailed = "tblAllCalls>R30"
DoCmd.OpenTable "tblAllCalls>R30", acNormal, acReadOnly
DoCmd.SelectObject acTable, "tblAllCalls>R30", False
DoCmd.ApplyFilter "", "[tblAllCalls>R30]![DivName]=" & Chr(34) & DivisionName & Chr(34)
DoCmd.SendObject acTable, strTblEmailed, "MicrosoftExcelBiff8(*.xls)", DivEmail, "", "", strEmailHeader, strEmailBody, False, ""
rs.MoveNext
Loop
DoCmd.Close acTable, "tblAllCalls>R30"
Thanks for any ideas



