Excel VBA Programming - The Complete Guide

4.7
3 297 комментариев
Payment
Обучение платное
Certificate
Сертификация бесплатная
Duration
18 часов курса
О курсе

Welcome to Excel VBA Programming - The Complete Guide, Udemy's most comprehensive VBA course!

Visual Basic for Applications (VBA) is a powerful language built on top of popular Microsoft Office applications like Excel, Access, and Outlook. It allows developers to write procedures called macros that perform automated actions. Anything that you can do in Excel, you can automate with VBA!

Over the course of more than 18 hours of content, we'll cover VBA from the ground up, beginning with the fundamentals and proceeding to advanced topics including:

  • The Excel Object Model
  • The Visual Basic Editor
  • Objects and Methods
  • Variables and Data Types
  • Writing Your Own Procedures
  • The Workbooks and Workbook Objects
  • The Worksheets and Worksheet Objects
  • Range References
  • Range Actions
  • Conditional Logic
  • Iteration
  • Alerts
  • Configuring Excel Functionality
  • Custom Functions
  • Arrays
  • Debugging
  • Even Procedures
  • User Forms

In addition to the video content, the course is packed with dozens of quizzes, challenges, and assignments to test your knowledge of your material as you progress.

No programming experience is required complete beginners are more than welcome! VBA is a great language to start with because you can master the fundamentals of programming in a familiar work environment.

No extra software is necessary - VBA is bundled with all modern versions of Excel.

Excel is the world's most popular spreadsheet software and is available on over 750 million computers worldwide. Whether you use it for professional or personal reasons, VBA can help you remove the redundancy in your workflow and accelerate your productivity drastically!

Thanks for checking out the course!

Программа
Getting Started
Setup the VBA development environment, configure our security settings, test out the built-in macro recorder, and more!
Introduction
In this lesson, we introduce VisualBasic for Applications (VBA), a powerful language for automating operations in Microsoft Office applications. We discuss:
  • the benefits offered by the technology
  • the tools and features available inVBA
  • a brief history of the languageincluding its precursors Basic and VisualBasic
  • the prerequisites for the course
Download Course Materials
This lesson contains all the Excel worksheets used during the recording of the course.Although it's a good idea to reference the material, the best strategy is to code alongside the videos to practice these concepts yourself.
Enable the Developer Tab
The Developer Tab is a secret Tab on theRibbon that includes several options for working withVBA. Users can access the VisualBasic Editor, enable theMacroRecorder, and display a list of public macros. In this lesson, we expose the Developer Tab and introduce some of itsavailable commands.
Excel File Types
There are dozens of file types available inExcel.In order to work with macros, weneed to save our files in a special format called.xlsm. In this lesson, weintroduce an option for defaulting to a.xlsm format upon saving.
Macro Security
Macros have been used to package malicious code in the past. In this lesson, weexplore the security options built intoExcel that prevent macro code from executing automatically.Wealso add a directory to aTrusted Locations list of folders to mark the files in it as safe to run.
The Macro Recorder
The MacroRecorder is a powerful tool that converts your interface actions (i.e. clicks, navigations, aesthetic changes) into validVBAcode. In this lesson, wediscuss the merits (and drawbacks) of the MacroRecorder and explore some of the code that it generates.
Record Macro to Change Worksheet Orientation
Absolute vs. Relative References I
The Macro Recorder can record withabsolute orrelative references.Absolute references (the default recording option)target specific cells (i.e. B1) the recorder is more concerned with the final destination.Relative references record changes relative to a cell the recorder is more concerned with the steps of travel from a starting position.In this lesson, we record one macro with each type of reference and compare the generated code in the VisualBasic Editor.
Absolute vs. Relative References II
In this lesson, we continue our exploration ofabsolute vsrelative references by recording a macro that deletes a row from the worksheet. Absolute references explicitly target a specific row each time, which defeats the purpose of the macro. Relative references allow us to fix this bug.
The Visual Basic Editor
In this lesson, we explore the components of the VisualBasic Editor, including the
  • Project Explorer, which lists all openworkbooks and worksheets as well as all modules (containers for code).
  • PropertiesWindow, which can be used to get or set properties on objects withExcel.An object represents an entityin the program (i.e. aWorkbook, Worksheet, module, etc.)
  • ImmediateWindow, a playground for executing single lines of VBAcode
  • CodeEditor, where the developer writes the actual macro code
VBA Basics
Test your knowledge of the basics of VBA including file types, macro security, the macro recorder, absolute and relative references, and more!
Требования
  • A modern version of Microsoft Excel for Windows (2016 is strongly recommended)
  • Intermediate knowledge of popular Excel features (functions, PivotTables, charts, etc.)
  • Basic knowledge of data types (numbers, strings, Booleans, dates)
  • A desire to learn!
Что Вы изучите?
  • Automate tasks and procedures in Excel using Visual Basic for Applications (VBA)
  • Utilize the objects in the Excel Object Model to emulate user actions in Excel
  • React dynamically to user events like entering a cell value or opening a workbook
  • Feel comfortable with the fundamentals of computer programming
Лекторы
Boris Paskhaver
Boris Paskhaver
Software Engineer | Consultant | Author

Hi there! I'm a New York City-based software engineer, author, and consultant who's been teaching on Udemy since 2016.

Like many of my peers, I did not follow a conventional approach to my current role as a web developer. After graduating from New York University in 2013 with a degree in Business Economics and Marketing, I worked as a business analyst, systems administrator, and data analyst for a variety of companies including a digital marketing agency, a financial services firm, and an international tech powerhouse. At one of those roles, I was fortunate enough to be challenged to build several projects with Python and JavaScript. 

There was no formal computer science education for me; I discovered coding entirely by accident. A small work interest quickly blossomed into a passionate weekend hobby. Eventually, I left my former role to complete App Academy, a rigorous full-stack web development bootcamp in NYC. The rest is history.

I've always been fascinated by the intersection of technology and education, especially since I've struggled with many of the traditional resources people use to learn how to program. My goal as an instructor is to create comprehensive step-by-step courses that break down the complex details into small, digestible pieces. I like to build the kind of material that I myself would have loved to have when I was starting out.

I'm passionate about teaching and would love to help you discover what code can do for you. See you in a course soon!

Платформа
Udemy
Курсы Udemy подойдут для профессионального развития. Платформа устроена таким образом, что эксперты сами запускают курсы. Все материалы передаются в пожизненный доступ. На этой платформе можно найти курс, без преувеличений, на любую тему – начиная от тьюториала по какой-то камере и заканчивая теоретическим курсом по управлению финансовыми рисками. Язык и формат обучения устанавливается преподавателем, поэтому стоит внимательно изучить информацию о курсе перед покупкой.
Рейтинг
4.7
1 669
1 310
299
40
20