Creating & Editing Macros in Excel Microsoft 365 for Windows

Excel Microsoft 365 (Windows)    |    Expert
  • 10 videos | 46m 48s
  • Includes Assessment
  • Earns a Badge
Rating 5.0 of 1 users Rating 5.0 of 1 users (1)
In Excel for Office 365 you can use the Visual Basic Editor to create and manage your macros. It's important to identify the key objects in your macro in order to start writing code for your Excel document. In this course you will see how to insert procedures and start writing code. You will also see how to use objects and even create events to interact with those objects. Once you start writing code it's important to know how to identify and correct errors found in your code.

WHAT YOU WILL LEARN

  • Identify the key components of a macro
    Create, edit and remove modules
    Insert procedures into your macro modules
    Write code in visual basic
    Declare variables and insert constants
  • Insert objects and create object collections
    Insert and test operators
    Execute actions under conditions
    Create events
    Manage and correct macro errors

IN THIS COURSE

  • 3m 27s
    From the Visual Basic editor, you can get a complete view of your macros and their components. Discover how to identify the key macro components such as procedure, sub procedures and comments in Excel for Office 365. FREE ACCESS
  • 4m
    In the Visual Basic editor your macros are contained within the project component modules. You can add modules, rename modules and start adding code to your modules within Excel for Office 365. FREE ACCESS
  • Locked
    3.  Inserting procedures in Excel Microsoft 365 for Windows
    4m 17s
    In Excel for Office 365, modules are used to store procedures. In the Visual Basic editor you can manually insert procedures or use the insert tool to quickly insert public and private procedures in your modules. FREE ACCESS
  • Locked
    4.  Writing code in Visual Basic within Excel Microsoft 365 for Windows
    5m 47s
    With Visual Basic in Excel for Office 365 you can write your own code from scratch. See how to add properties, methods and comments. You can also edit your code formatting by using the edit tools. FREE ACCESS
  • Locked
    5.  Using Variables & Constants in Excel Microsoft 365 for Windows
    3m 14s
    When creating macros in Excel for Office 365, you will need to know how to declare and assign variables. You'll also see how to insert constants to save time when writing code in Visual Basic. FREE ACCESS
  • Locked
    6.  Using Objects in Excel Microsoft 365 for Windows
    6m 38s
    Visual Basic works with an object model program. You can easily insert an object, browse the object library and create object collections with Excel for Office 365. FREE ACCESS
  • Locked
    7.  Using Operators in Excel Microsoft 365 for Windows
    4m 18s
    You can insert operators into your macros to perform calculations. It's also possible to insert comparison and logical operators to perform calculations if certain criteria are met. See how to insert and test operators in Excel for Office 365. FREE ACCESS
  • Locked
    8.  Execute actions under conditions in Excel Microsoft 365 for Windows
    4m 19s
    You can insert procedures with conditions using If, Then, and Else to return specific values. Excel for Office 365 also gives you the possibility to work with cases by inserting the CaseValue procedure. FREE ACCESS
  • Locked
    9.  Creating Events in Excel Microsoft 365 for Windows
    5m 2s
    Event procedures enable you to interact with objects. You can rename spreadsheets and create reminders with the event procedure available in Excel for Office 365. FREE ACCESS
  • Locked
    10.  Managing Errors in Excel Microsoft 365 for Windows
    5m 46s
    There are three types of errors that can occur in macros: syntax, runtime and logic errors. See how to identify and correct macro errors with Excel for Office 365. FREE ACCESS

EARN A DIGITAL BADGE WHEN YOU COMPLETE THIS COURSE

Skillsoft is providing you the opportunity to earn a digital badge upon successful completion on some of our courses, which can be shared on any social network or business platform.

Digital badges are yours to keep, forever.

YOU MIGHT ALSO LIKE

Rating 4.5 of 2242 users Rating 4.5 of 2242 users (2242)
Rating 4.4 of 163 users Rating 4.4 of 163 users (163)

PEOPLE WHO VIEWED THIS ALSO VIEWED THESE

Rating 4.5 of 12 users Rating 4.5 of 12 users (12)
Rating 4.5 of 380 users Rating 4.5 of 380 users (380)
Rating 4.3 of 481 users Rating 4.3 of 481 users (481)