πŸš€ Automated Data Splitting & Report Generation using Excel VBA Manually filtering, copying, and ...πŸš€ Automated Data Splitting & Report Generation using Excel VBA Manually filtering, copying, and ...
The network for creativity
Join 1.25M professional creatives like you
Connect with clients, get discovered, and run your business 100% commission-free
Creatives on Contra have earned over $150M and we are just getting started
πŸš€ Automated Data Splitting & Report Generation using Excel VBA
Manually filtering, copying, and saving master datasets into individual rep reports is time-consuming and prone to human error. I designed and implemented a custom Excel VBA automation solution that automates the entire process in just one click.
πŸ“Œ Project Overview
The objective was to take a consolidated master sales report containing transaction records for multiple salespersons and automatically split the data into individual Excel workbooks for each team member.
✨ Key Features & Technical Highlights
Dynamic Data Extraction: Uses VBA Scripting.Dictionary to dynamically identify unique salesperson names from column C without requiring hardcoded values.
Automated File Management: Automatically creates a dedicated output folder (\Salesperson Files\) if it doesn't already exist.
Sanitized File Naming: Includes a helper function (CleanFileName) to replace illegal characters (such as /, \, ?, *) with underscores to prevent file save errors.
Clean Formatting & Auto-Fit: Preserves column headers, applies data filters, copies visible cells, and applies AutoFit formatting on newly generated workbooks (.xlsx) before saving.
Performance Optimized: Temporarily disables ScreenUpdating and DisplayAlerts for faster macro execution and seamless user experience.
πŸ› οΈ Tools & Technologies
Language: Excel VBA (Visual Basic for Applications)
Methods Used: AutoFilter, Scripting.Dictionary, SpecialCells(xlCellTypeVisible), File System Manipulation (MkDir, Dir)
πŸ“ˆ Impact & Results
100% Elimination of Manual Work: Reduced hours of repetitive filtering and file creation down to seconds.
Data Accuracy: Ensured each rep receives strictly their own filtered data without risking manual copy-paste errors.
Post image
Post image
Post image
Back to feed
The network for creativity
Join 1.25M professional creatives like you
Connect with clients, get discovered, and run your business 100% commission-free
Creatives on Contra have earned over $150M and we are just getting started