Excel VBA – Attach (Invoice) PDF to Email and Send to Email Address (Based on Cell Value)




Buy the Simple Sheets Invoice Template (all purchases help support this channel)

Download the featured invoice template here

Full playlist for this video series:

This tutorial is part of a series of tutorials that demonstrate how to create an automated invoice system in Microsoft Excel. This video looks at saving the invoice worksheet as a pdf and then sending it as an attachment via email.

Other videos in this series show you how to write VBA macros that
1) Create the invoice itself
2) Automatically generate the next invoice number
3) Add the invoice details to a record of invoices
4) Save the invoice as an Excel workbook

Table of Contents:

00:00 – Introduction
02:06 – Starting the VBA code for the button
02:52 – Declaring the variables for the macro
05:01 – VBA code to export worksheet as PDF
06:19 – VBA to find the next blank row in the invoice tracker
07:11 – VBA to copy invoice details to the invoice tracker
07:58 – VBA to create a hyperlink to a pdf
08:21 – VBA to create and send email with pdf attached (email address based on cell value)
11:20 – Create a button to run the macro
————————
All enrolments and purchases help this channel (a commission is received at no extra cost to you):

😎5 FREE Excel Templates😎

😎Enrol in the Excel University – FREE taster course available😎

😎Get 30% Discount on Simple Sheets Templates and Courses

Use Discount Code BLUE😎…(read more)


Convert Word 2 PDF: Word to PDF Converter

Convert PowerPoint 2 PDF: PPT to PDF Converter

Convert Excel 2 PDF: Excel to PDF Converter

Convert an Image 2 PDF: Image to PDF Converter

Convert HTML 2 PDF: HTML to PDF Converter

More Tools: PDF Converter