Skip to main content
by learnformula
Explore courses
search
For Business
Team license & compliance management
For Higher Education
Academic partnerships
For Government Agencies
Government training solutions
For Instructors & Course Creators
Teach on our marketplace
Become a Sponsor
Reach professionals where they learn
Log inStart 7-Day Free TrialStart Free TrialStart Free Trial
search
Explore courses
  1. Courses
  2. /Office Productivity
  3. /MS Excel

Excel University Lesson 606: Automating Journal Entry Exports with VBA

Stop hand-keying data and learn to build a robust, scalable VBA macro to automate your monthly accounting exports.

Created byJeff Lenningworkspace_premiumBest Instructor
AdvancedUpdated Sep 23, 2026

What You'll Learn

  • check_circleApply module-level variables to initialize and manage data across multiple procedures.
  • check_circleUtilize the MATCH function to create dynamic, row-independent references for data extraction.
  • check_circleConstruct worksheet loops to process data from multiple sources based on conditional flags.
  • check_circleImplement error handling and user communication to ensure macro reliability.
  • check_circleAutomate the creation and saving of CSV export files from Excel worksheets.

About This Course

This course provides a practical approach to automating the preparation of journal entry export files using Excel VBA. It covers the essential components of VBA programming, including variable scoping, worksheet object manipulation, the MATCH function for dynamic range identification, and various looping techniques to process data across multiple sheets.

The content focuses on building a scalable solution that adapts to new journal entry sheets and row insertions without requiring manual code modifications. By the end of the course, participants will be able to construct a reliable, automated workflow that extracts data from specific sheets based on user-defined flags and formats it for accounting system imports.

Topics Covered:

  • Module-level and local variable scoping
  • Worksheet object variable assignment
  • Dynamic range selection with CurrentRegion
  • Data retrieval using the MATCH function
  • Looping through worksheet collections
  • Automated data transfer between worksheets
  • Error handling for missing worksheets
  • CSV file generation via VBA

Course Content

3 activities • 3 videos • duration: 1h 16m

  • videocamVBA Briefing 6
    Duration 21:50
  • videocamCase Study 6
    Duration 46:34
  • quizLecture Quiz

Your Instructor

Jeff Lenning

CPA and Microsoft Certified Trainer

menu_book36 courses
star1,189 reviews

In his live CPE training sessions, Jeff Lenning CPA has shown thousands of CPAs and accounting professionals across the country how to use Excel to streamline their work and become more efficient. Several publications have featured his Excel articles, including the Journal of Accountancy and California CPA Magazine. After graduating from the University of Southern California, Jeff began his career in the audit practice at Arthur Andersen’s Orange County office. He was a senior financial analyst at Gateway computers and the accounting manager at Interpore Cross International. In 2000, he founded Click Consulting Inc., a technology-consulting firm that specializes in Excel training, consulting, development, and personal coaching. He is a past president of the CalCPA OCLB Chapter, the former chair of the California CPA State Technology Committee, co-chair of the California CPA OCLB Chapter Technology Committee, a board member of the California CPA OCLB Chapter, on the California Society of CPAs Council, and an instructor for the AICPA and the California CPA Education Foundation. A Microsoft Office Certified Excel Expert, he is a nationally recognized speaker and trainer. He was recently recognized with the California CPA Education Foundation's Award for Instructor Excellence.

Credit Information

What Students Are Saying

0.0 out of 5
Student's Choice
0 reviews

Frequently Asked Questions

We are a registered provider with 300+ associations and regulatory bodies worldwide. We operate across 27 global markets including Canada, the US, Australia, and the UK. Every course page clearly displays its specific accreditations. Upon completion, you receive a professional certificate that can be validated online. Our certificates include all necessary accreditation details, credit hours, and completion dates, and are formatted specifically to meet the submission requirements of most global regulatory bodies.

You May Also Like

  • Finance: Budgeting & Financial Forecasting

    Critical Skills for CFOs & Controllers: Budgeting & Forecasting Strategies for Today’s World

    starRated5.0out of 5,(126 reviews)
    2.5 CPD hrs
  • Accounting & Tax: Technology for Accountants

    Claude Fundamentals for Accountants (2026 Update)

    starRated5.0out of 5,(675 reviews)
    2.5 CPD hrs
  • Personal Development: Stress Management

    Stress Management for Work

    starRated4.9out of 5,(144 reviews)
    3 CPD hrs