Excel 2007 VBA

PDFDownload a PDF version of this course outline

Duration:2 days

Price:$650.00

Test Level:1

Certifications:
  • No Certification
Exams:
  • No Exam

Course Overview

sl.

Learning Outcomes

At the completion of Programming in VBA Microsoft Excel 2007 you should be able to:

  • create recorded macros in Excel
  • use the macro recorder to create a variety of macros
  • understand the Excel object model and VBA concepts
  • work with the three main components of the VBA Editor window
  • create command procedures
  • create and use variables
  • create and work with user-defined functions
  • write code to manipulate Excel objects
  • use a range of common programming techniques
  • create a custom form complete with controls and event procedures
  • create code to drive a user form
  • create procedures that start automatically
  • write a variety of error handling routines

Target Audience

Programming in VBA Microsoft Excel 2007 is designed for users who wish to learn how to use the inbuilt programming language in Excel to enhance their worksheets and automate processes.

Course Outline

Unit1:VisualBasicEditor

TopicA:VisualBasicforApplications

  • DiscussingVBA
  • PreparingExcelforVBA
  • ExaminingtheVBEwindow

TopicB:Objectprogramming

  • ExaminingthePropertieswindow
  • Changingtheobjectproperties
  • Usingcodetochangeobjectproperties
  • Usingamethod
  • AssociatingVBAcodewithanevent
  • ExecutingVBAcodebyusingabutton

TopicC:TheObjectBrowser

  • ExaminingtheObjectBrowser
  • SearchingintheObjectBrowser

Unit2:Programmingbasics

TopicA:Databasics

  • Discussingdatatypesandvariables
  • Discussinganddeclaringvariables
  • Usingoperators
  • Usingtheinteractionfunctions

TopicB:Scopeofvariables

  • Understandingprocedure-andmodule-levelscope
  • Understandingpublicscope

TopicC:Scopeofprocedures

  • CreatingaSubprocedure
  • CallingaSubprocedure
  • CreatingaFunctionprocedure
  • CallingaFunctionprocedure

Unit3:Controlstructures

TopicA:Decisionstructures

  • UsingtheIf…Thenstatement
  • UsingtheIf…Then…Elsestatement
  • UsingtheIf…Then…ElseIfstatement
  • UsingtheSelectCasestatement

TopicB:Loopstructures

  • UsingtheFor…Nextloop
  • UsingtheForEach…Nextloop
  • UsingtheDoWhile…Loop

Unit4:Customdialogboxes

TopicA:Userforms

  • Addingauserform
  • Addingcontrolstoauserform

TopicB:Events

  • Attachinganeventhandlertoacontrol
  • Validatingdatabyusingeventhandlers

Unit5:Debugginganderrorhandling

TopicA:Errors

  • Discussingtypesoferrors

TopicB:Debugging

  • Discussingdebuggingtools
  • Settingabreakpoint
  • Addingawatchexpression
  • UsingStepInto
  • Deletingawatchexpression
  • WorkingwiththeImmediatewindow
  • WorkingwiththeLocalswindow

TopicC:Errorhandling

  • UsingtheOnErrorGoTostatement
  • UsingtheOnErrorResumeNextstatement

Prerequisites

This publication assumes the student has some prior knowledge of working with Excel and it would be beneficial to have a general understanding of personal computers and the Windows operating system environment.

  • Excel 2007 Level 1
  • Excel 2007 Level 2
  • Excel 2007 Level 3

Upcoming Classes

There are no scheduled classes for this course in the next four months. Call 1(866)399-8287 to make a request.

Microsoft Technical

    Windows Server

    SharePoint

    Windows 7

    Exchange Server

    SQL Server

    Office

    Visual Studio

    Lync

    Virtualization

    Other Technologies

      Office 365

      Systems Center

      Forefront

      Microsoft Dynamics

      Windows Small Business Server

      Select a Class

      There are no scheduled classes for this course in the next four months. Call 1(866)399-8287 to make a request.

      Your class selection was successfully added to your cart.