LF logo
by learnformula
search
Log in
search
Courses/Office Productivity/MS Excel

Excel University Lesson 602: Mastering VBA Variables and Range Objects

Streamline your Excel workflows by automating data management and formula insertion with professional VBA techniques.

Created byJeff Lenningworkspace_premium
AdvancedUpdated Sep 21, 2026
Excel University Lesson 602: Mastering VBA Variables and Range Objects

What You'll Learn

check_circleDeclare and initialize variables using appropriate data types
check_circleApply different methods to reference range objects within VBA procedures
check_circleAutomate the insertion of Excel formulas using VBA code
check_circleImplement error handling and optimization techniques for cleaner code
check_circleManage multiple values using variant arrays

About This Course

This course provides a technical foundation for using Visual Basic for Applications to manipulate Excel data and automate repetitive tasks. It covers the definition and scope of variables, the use of data types, and the implementation of constants to improve code efficiency. Learners will examine various methods for referencing range objects, including the use of cells, offsets, and object variables, while also exploring how to dynamically insert formulas. The content emphasizes best practices such as variable declaration, the use of Option Explicit, and the optimization of code through structured procedures and error handling.

Topics Covered

  • Variable declaration and data types
  • Scope of local and module-level variables
  • Range object referencing methods
  • Subtotal function automation
  • Formula insertion and R1C1 notation
  • Code optimization and error handling
  • Array and variant data structures

Your Instructor

Jeff Lenning
Jeff Lenning

CPA and Microsoft Certified Trainer

menu_book25 courses
star1,160 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
Student's Choice
0 reviews

Frequently Asked Questions

We are a registered provider with 327+ associations and regulatory bodies worldwide. We operate across 29 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

Tax: Tax Update *

Split, Shift, or Sink? Navigating PSI and Anti-Avoidance Law

star4.9(76)
1.5 CPD hrs
Accounting & Tax: Technology for Accountants

Claude Fundamentals for Accountants (2026 Update)

star5.0(394)
2.5 CPD hrs
Ethics: Business Ethics

2026 Ethics and Corporate Compliance

star5.0(343)
2 CPD hrs