0% found this document useful (0 votes)
31 views2 pages

Our First Vba App Demo

This document introduces a basic Excel VBA application for tracking daily sales across multiple stores. The application allows the user to enter daily sales figures for each store, analyze any deviations from targets, and generate a PDF report with a sales summary and snapshot of the data. When the "Analyze Sales & Report" button is clicked, the macro will prompt the user for reasons for any deviations, display an overall sales summary, and save the sales log as a PDF file in the same folder with a timestamp. Instructions are provided on how to use the application template and view the generated report.

Uploaded by

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

Our First Vba App Demo

This document introduces a basic Excel VBA application for tracking daily sales across multiple stores. The application allows the user to enter daily sales figures for each store, analyze any deviations from targets, and generate a PDF report with a sales summary and snapshot of the data. When the "Analyze Sales & Report" button is clicked, the macro will prompt the user for reasons for any deviations, display an overall sales summary, and save the sales log as a PDF file in the same folder with a timestamp. Instructions are provided on how to use the application template and view the generated report.

Uploaded by

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

Putting it all together - our First VBA Application

Excel VBA Crash Course by Chandoo.org

We Are Nuts Daily Sales Log

Store Number Sales for the day Reason for Deviation


Analyze Sales & Report
Store 1 $ 230.00
Store 2 $ 560.00
Store 3 $ 120.00 When you click this button,
Store 4 $ 1,200.00 1) You will be asked for reasons
Store 5 $ 12,000.00 for deviation if any
2) Once all the details are
Store 6 captured, a summary of sales is
Store 7 $ 560.00 shown
3) Then, the sales log snap-shot
Store 8 $ 500.00 is saved as PDF to the folder
Store 9 $ 499.00 where this Excel file is present
with current date & timestamp.
Store 10 $ 4,995.95
Store 11
Store 12
Store 13
Store 14
Store 15
Store 16
Store 17
Store 18
Store 19
Store 20
Store 21
Store 22
Store 23
Store 24
Join our VBA Classes Visit Chandoo.org
2nd batch starting on September 5th

Analyze Sales & Report How to use this?


Save this file in a folder
When you click this button, Enter Daily Sales information in Cells C7:C30
Press Analyze Sales & Report button
1) You will be asked for reasons Open the folder where you saved the file
for deviation if any Locate the newly created PDF file to see Daily Sales
2) Once all the details are Snapshot report.
captured, a summary of sales is
shown
3) Then, the sales log snap-shot
is saved as PDF to the folder
where this Excel file is present
with current date & timestamp.

You might also like