0% found this document useful (0 votes)
17 views10 pages

Communicating With Other Applications (Powerpoint, Word, Outlook)

This document describes how to communicate data from Excel to other applications like PowerPoint, Word, and Outlook. It contains instructions on how to save specific Excel tabs as PDFs, create automatic emails with different workbook attachments, modify text and values in Word documents from Excel, and automatically generate PowerPoint slides from Excel tabs.

Uploaded by

nick gomez
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
17 views10 pages

Communicating With Other Applications (Powerpoint, Word, Outlook)

This document describes how to communicate data from Excel to other applications like PowerPoint, Word, and Outlook. It contains instructions on how to save specific Excel tabs as PDFs, create automatic emails with different workbook attachments, modify text and values in Word documents from Excel, and automatically generate PowerPoint slides from Excel tabs.

Uploaded by

nick gomez
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
You are on page 1/ 10

What you learn Communicating with Other Applications (PowerPoint, Word, Outlook)

Link Topic Covered What you Learn

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.

Sheet name Email address Subject


R_North [email protected] North Region Update
R_South [email protected] South Region Update
North Region: Sales by Customer

Customer $ Sales
Werner Strauss $378,530 58%
Aida GmbH $174,854 27%
Liebher $58,512 9%
Edson $36,846 6%
Total $648,743 100%

Sales for the North Region


$378,530

$174,854

$58,512
$36,846

Werner Strauss Aida GmbH Liebher Edson


South Region: Sales by Customer

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%

Sales for the South Region


$569,874 $562,100

$462,512

$269,856

Von Branch Missy Tan Legacy Jean Pandal


Change Specific Text and Values in Word
This example uses an existing Word document called "Letter_Word".
Make sure the Letter_Word document is saved in the same folder as this workbook.
Otherwise update the path to the document in VBA code.
Note: Make sure you add the Word Object library reference to your Project.
Go to Tools / References and put a tick mark for Office Word.

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%

Werner Strauss Aida GmbH Liebher Edson


South Region: Sales by Customer

$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%

Von Branch Missy Tan Legacy Jean Pandal

You might also like