Communicating With Other Applications (Powerpoint, Word, Outlook)
Communicating With Other Applications (Powerpoint, Word, Outlook)
PDF PDF: Save Specific Tabs as a How to save Excel Worksheets as PDF files
PDF File
Email Create Emails and Attach How to create automatic emails to different people (including
each Sheet as Workbook different attachments) using your default email client
Word Change Specific Text and Control Microsoft Word from Excel. Create customized letters
Values in Word to different people with different text depending on values
from Excel.
PowerPoint Create PowerPoint Slides How to automatically save Excel tabs and add them either to
Automatically an existing PowerPoint presentation or create a new
PowerPoint presentation. All by running a macro from Excel.
PDF: Save Specific Tabs as a PDF File
Save the following tabs as a PDF document:
Tab Name
R_North
R_South
Create Emails and Attach each Sheet as Workbook
This macro shows you how to use Excel's Dialogs to send an email.
For more control over Outlook, you need to activate the Outlook reference library.
We see this in the invoicing project - where we save specific sheets as PDF and email it to a specific person.
Customer $ Sales
Werner Strauss $378,530 58%
Aida GmbH $174,854 27%
Liebher $58,512 9%
Edson $36,846 6%
Total $648,743 100%
$174,854
$58,512
$36,846
Customer $ Sales
Von Branch $569,874 31%
Missy Tan $562,100 30%
Legacy Jean $462,512 25%
Pandal $269,856 14%
Total $1,864,342 100%
$462,512
$269,856
Person Sales
Tom Berger $648,743
Maria Bohm $1,864,342
Create PowerPoint Slides Automatically
This example creates PowerPoint Slides based on the last two tabs in this workbook.
Make sure the layout of the tabs are optimized for PowerPoint.
If PowerPoint is open, the slides are added to the end, and if PowerPoint is closed, a new presentation is created.
ation is created.
North Region: Sales by Customer
$378,530
Customer $ Sales
$174,854
Werner Strauss $378,530 58%
Aida GmbH $174,854 27%
Liebher $58,512 9%
Edson $36,846 6% $58,512
$36,846
Total $648,743 100%
$569,874 $562,100
$462,512
Customer $ Sales
$269,856
Von Branch $569,874 31%
Missy Tan $562,100 30%
Legacy Jean $462,512 25%
Pandal $269,856 14%
Total $1,864,342 100%