How can I send 2 pivot tables (from two sheets) in an Email?
问题 I have a excel with 2 sheets, each one has a pivot table. I want to create a button which automatically send both pivot tables into one mail out. I'm able to write the VBA code to send out one pivot but dont know how to send 2 together. Here is my code, appreciate the help. Sub Mail_Selection_Range_Outlook_Body() ' You need to use this module with the RangetoHTML subroutine. ' Works in Excel 2000, Excel 2002, Excel 2003, Excel 2007, Excel 2010, Outlook 2000, Outlook 2002, Outlook 2003,