J
Junior
hi - I want to email several tables as email attachements on click event.
this macro- converted to VBA works - except it only attaches the first
table-
is there a way to have several tables attached to a single outlook email?
Function Macro1()
On Error GoTo Macro1_Err
DoCmd.SendObject acTable, "tblCostOrg", "MicrosoftExcel(*.xls)",
"(e-mail address removed)", "", "", "CostOrg Table", "", False, ""
DoCmd.SendObject acTable, "tblStaNum", "MicrosoftExcel(*.xls)",
"(e-mail address removed)", "", "", "CostOrg Table", "", False, ""
Macro1_Exit:
Exit Function
this macro- converted to VBA works - except it only attaches the first
table-
is there a way to have several tables attached to a single outlook email?
Function Macro1()
On Error GoTo Macro1_Err
DoCmd.SendObject acTable, "tblCostOrg", "MicrosoftExcel(*.xls)",
"(e-mail address removed)", "", "", "CostOrg Table", "", False, ""
DoCmd.SendObject acTable, "tblStaNum", "MicrosoftExcel(*.xls)",
"(e-mail address removed)", "", "", "CostOrg Table", "", False, ""
Macro1_Exit:
Exit Function