Programming and Data Wrangling with VBA and Excel

In this course, you will develop and deploy VBA modules to solve business problems.

Description

Overview

VBA (Visual Basic for Applications) enables you to enhance and extend the capabilities of Microsoft® Excel® and other applications in the Microsoft® Office application suite. You can use VBA to perform tasks that would be difficult or impossible to do using only worksheet functions, and you can automate a wide range of tasks involving the collection, processing, analysis, and visualization of data. This course will give you a good foundation for understanding, creating, and using VBA in your own Excel workbooks, show you how to work with data across different applications, and how to package the macros and functions you create so you can back them up, move them to other computers, and share them with other users

Course Objectives

In this course, you will develop and deploy VBA modules to solve business problems. You will:

  • Identify general components of VBA and their appropriate use in solving business solutions.
  • Record VBA macros to automate repetitive tasks.
  • Use reference tools built into Excel to get help on VBA programming language and objects used in the Excel VBA environment.
  • Write VBA code to create a custom worksheet function.
  • Eliminate, avoid, or handle errors in VBA code, and optimize its performance.
  • Control how and when macros run.
  • Develop UserForm objects to create custom dialog boxes and windows.
  • Use VBA to read and write data from local files and cloud services.
  • Use VBA to clean and transform data.
  • Run programs and commands outside of Excel and share VBA projects with other users.

Who Should Attend

This course is primarily designed for students who want to gain the skills necessary to use VBA to automate tasks in Excel such as collecting data from external sources, cleaning, and manipulating data. The target student may also want to learn how to create custom worksheet functions to streamline worksheet formulas and make complex worksheets easier to support, maintain, and understand.

Course Outline

Lesson 1: Using VBA to Solve Business Problems

  • Use Macros to Automate Tasks in Excel
  • Identify Components of Macro-Enabled Workbooks
  • Configure the Excel VBA Environment

Lesson 2: Automating Repetitive Tasks

  • Use the Macro Recorder to Create a VBA Macro
  • Record a Macro with Relative Addressing
  • Delete Macros and Modules
  • Identify Strategies for Using the Macro Recorder

Lesson 3: Getting Help on VBA

  • Use VBA Help
  • Use the Object Browser to Discover Objects You Can Use in VBA
  • Use the Immediate Window to Explore Object Properties and Methods

Lesson 4: Creating Custom Worksheet Functions

  • Create a Custom Function
  • Make Decisions in Code
  • Work with Variables
  • Perform Repetitive Tasks

Lesson 5: Improving Your VBA Code

  • Debug VBA Errors
  • Deal with Errors
  • Improve Macro Performance

Lesson 6: Controlling How and When Macros Run

  • Prompt the User for Information
  • Configure Macros to Run Automatically

Lesson 7: Developing Custom Forms

  • Display a Custom Dialog Box
  • Program Form Events

Lesson 8: Using VBA to Work with Files

  • Use VBA to Get File and Directory Structure
  • Use VBA to Read Text Files
  • Use VBA to Write Text Files

Lesson 9: Using VBA to Clean and Transform Data

  • Automate Power Query
  • Transform Data Using VBA and Workbook Functions
  • Use Regular Expressions
  • Manage Errors in Data

Lesson 10: Extending the Programming Environment Beyond the Workbook

  • Run Other Programs and Commands
  • Share Your VBA Projects

Similar courses

Learn how to make SharePoint online relevant to your team by using a sites functionality to help you share information and collaborate with your colleagues.

More Information

This course is intended for power users and IT professionals who are tasked with working within the SharePoint 2016 environment and conduct site collection and site administration. This course is for an on-premise SharePoint environment.

More Information

The course is appropriate for existing SharePoint on-premises administrators and new administrators to Office 365 who need to understand how to correctly setup SharePoint Online for their company. The course will also help SharePoint on-premise administrators understand the differences between SharePoint on-premises and SharePoint Online.

More Information

In this course, you will analyze and visualize data using Excel and associated tools.

More Information

This course teaches concepts by deep-dive on-hand exercises. Throughout the course, you will learn data wrangling with hands-on exercises and activities. You’ll find checklists, best practices, and critical points mentioned throughout the lessons, making things more interesting.

More Information

This course covers methods and practices for performing advanced data analytics at scale.

More Information

Master the skills to create polished, professional technical documents with advanced formatting techniques that enhance consistency, efficiency, and usability

More Information

This introductory and beyond level course is for technical users newer to Python who want to learn advanced data handling and transformation skills, using the latest tools and techniques. The course is approximately 50% hands-on to 50% lecture ratio, combining expert lecture, real-world demonstrations and group discussions with machine-based practical labs and exercises. Student machines are required.

More Information

Using Data Analysis Expressions to solve common business problems in Power BI

More Information

In this course, you will use generative AI to assist you as you work with spreadsheets.

More Information

Use the advanced PivotTable functionality in Excel to analyze your raw data

More Information

Gain a solid understanding of Power Pivot to maximize your effectiveness when analyzing data

More Information

Put the full power of Excel right at your fingertips: collaborate, automate, and use conditional logic to construct and apply elaborate formulas and functions

More Information

Provides a foundation for Excel knowledge and skills

More Information

Start down the road to creating advanced workbooks and worksheets to help deepen understanding of organizational intelligence

More Information

This course introduces working with shared documents in the familiar Office 365 online apps—Word, PowerPoint®, and Excel®—as an alternative to installing the Microsoft® Office desktop applications. This course also introduces several productivity apps including Yammer™, Planner, and Delve® that can be used in combination by teams for communication and collaboration.

More Information

Builds upon the foundational knowledge presented in the Microsoft Outlook for Office 365/2019: Part 1 course and will help you customize a communication system well-suited to your work style

More Information

Use Outlook to compose and handle your email communications and to manage your calendar, contacts, and tasks.

More Information

This course is designed for professionals in a variety of job roles who are currently using desktop or web-based data management tools such as Microsoft® Excel® or SQL Server® reporting services to perform numerical or general data analysis. This course is also designed for professionals who want to pursue the Microsoft Power BI Data Analyst (Exam PL-300) certification.

More Information

This course is designed to familiarize you with some of the advanced features and functions of Microsoft Project so you can use it effectively and efficiently in a real-world environment

More Information

Use Microsoft Project effectively and efficiently in a real-world environment.

More Information

SharePoint provides tools to create and manage a corporate intranet, facilitate content sharing and collaboration, and enable users to create, access, store, and track documents and data in a central location

More Information

In this course, you will use generative AI tools to help you develop text and images that you can use in your word processor or desktop publishing application.

More Information

Includes advanced image manipulation tools, collaboration features, cross-referencing and linking tools, entry forms and data collection, security features, and tools to automate document production.

More Information

You will learn fundamental Word skills

More Information

Tackle more advanced features of Word

More Information

Course Objectives: In this course, you will use a typical SharePoint team site to work collaboratively with other team members. You will: Launch a SharePoint site and navigate among the pages and resources provided by the site. Use SharePoint lists to track and view information. Use document libraries to store and organize documents. Find, share, and archive content stored in SharePoint. Author documents as a member of a SharePoint team site.

More Information

Course Objectives: In this course, you will use Microsoft Teams to communicate and collaborate with your colleagues. You will: Send messages to colleagues using Teams. Call and meet with people in Teams. Lead a meeting. Configure your Teams environment. Share files and app content. Create and configure Teams.

More Information

Learn to streamline your email workflow with practical Outlook tools, including folder management, rules, advanced inbox customization, and search techniques, to achieve better organization and productivity.

More Information

If you are someone with existing SQL or SQL Server knowledge (or someone highly versed in different data repositories), this is the Power BI course for you. This course covers the various methods and best practices that are in line with business and technical requirements for modeling, visualizing, and analyzing data with Power BI.

More Information

In this course, you will use various Python tools to load, analyze, manipulate, and visualize business data.

More Information