Close Window

I.

Course Prefix

Course Number

Course Name

Credit

Lecture

Lab

CIS 

108

VISUAL BASIC FOR APPLICATIONS

4

3

2

II.

Prerequisite:

See recommendation in Course (Catalog) Description

III.

Course (Catalog) Description:

Course introduces programming using Visual Basic for Applications (VBA). Content includes using VBA to automate or customize operations in a Word, Excel, Access, or PowerPoint; use of the Visual Basic editor to code, compile and execute programs. Content includes working with variables, decision making, looping, functions, procedures, arrays, and debugging. Recommended: CIS 101 or CIS 103, ability to manage files using Windows, CIS 105 and MAT 052 or one year of high school algebra or equivalent.

IV.

Learning Objectives:

  1. Use Visual Basic for Applications to write code to automate applications
  2. Use Visual Basic editor to view, modify, and run code
  3. Declare and use variables
  4. Create and invoke sub and function procedures
  5. Use message boxes, dialog boxes, and input boxes
  6. Use decision control and looping statements to control program execution
  7. Use arrays for storing data
  8. Use error-handling statements to handle run-time errors
  9. Describe the differences between objects, properties, and methods
  10. Use Word, Excel, Access, and PowerPoint objects

V.

Academic Integrity:

Students and employees at Oakton Community College are required to demonstrate academic integrity and follow Oakton's Code of Academic Conduct. This code prohibits:

  • cheating
  • plagiarism (turning in work not written by you, or lacking proper citation)
  • falsification and fabrication (lying or distorting the truth)
  • helping others to cheat
  • unauthorized changes on official documents
  • pretending to be someone else or having someone else pretend to be you
  • making or accepting bribes, special favors, or threats
  • any other behavior that violates academic integrity
  • There are serious consequences to violations of the academic integrity policy. Oakton's policies and procedures provide students a fair hearing if a complaint is made against you. If you are found to have violated the policy, the minimum penalty is failure on the assignment and, a disciplinary record will be established and kept on file in the office of the Vice President for Student Affairs for a period of 3 years.

    Details of the Code of Conduct can be found in the Student Handbook.

    VI.

    Outline of Topics:

    1. Introduction
      1.    What is Visual Basic for Applications
      2.    Difference between VB and VBA
      3.    Creating and executing macros
             a.  Macro basics
             b.  Running macros in Word, Excel, Access, and PowerPoint
             c.  Editing macros
      4.    Using Help
      5.    Working Across Applications
             a.  Word
             b.  Excel
             c.  Access
             d.  PowerPoint
      6.    Using the Visual Basic Editor
             a.  Menus
             b.  Toolbars
             c.  Properties
      7.    VBA terminology and syntax
             a.  Events
             b.  Objects
             c.  Methods
      8.    Variables and Constants
             a.  Choosing names for variables
             b.  Declaring a variable
             c.  Choosing the scope and lifetime of a variable
             d.  Data types for a variable
             e.  Constants syntax and usage
      9.    Custom dialog boxes
      10.  Using message boxes and input boxes
             a.  Status bar message
             b.  Syntax
             c.  Displaying messages
             d.  Buttons
      11.  Controls
             a.  Adding, renaming, moving, copying, pasting, deleting
             b.  Toolbox control properties
             c.  Working with groups of controls
      12.  Decisions
             a.  If...then
             b.  If...then...else
             c.  If...then...elseif
             d.  Select case
      13.  Looping
             a.  For...Next
             b.  Do...While
             c.  Do...Until
             d.  While...Wend
      14.  Using and creating functions
             a.  Definition
             b.  Passing arguments to a function
             c.  Convert data functions
             d.  String functions
             e.  Mathematical functions
             f.  Date and time functions
      15.  Creating Procedures
      16.  Debugging
      17.  Error Trapping
      18.  Arrays
             a.  Definition
             b.  Declaring an array
             c.  Storing values
             d.  Single and Multi-dimensional
             e.  Sorting an array
             f.  Searching through an array
      19.  Creating and managing files and documents
      20.  Develop an integrated office solution

    VII.

    Methods of Instruction:

    Reading, lecture, discussion, group work, demonstration of programs, hands-on exercises and projects, assignments, quizzes, and/or tests.

    VIII.

    Course Practices Required:

    Reading:    Students will be expected to read text book and research
                   appropriate manuals as needed.
    Writing:     Interactive programming requires student to be able to write                screen and other instructions using clear and syntactically                correct English.
    Computer: Students will use computers to create, test and debug a                variety of programs. 

    IX.

    Instructional Materials:

    Appropriate texts and manuals

    TEXTBOOK:  Microsoft Visual Basic for Applications; 2001; Author: Diane
                           Zak, Published by Course Technology

    Handouts

    X.

    Methods of Evaluating Student Progress:

    Students will be evaluated on quality of programs, other written assignments, quizzes, and tests as specified by the instructor.

    XI.

    Other Course Information:

    If you have a documented learning, psychological, or physical disability you may be entitled to reasonable academic accommodations or services. To request accommodations or services, contact the ASSIST office in Instructional Support Services. All students are expected to fulfill essential course requirements. The College will not waive any essential skill or requirement of a course or degree program.

    Go to the TOP of the Page

    OAKTON HOME | ACADEMIC PROGRAMS | PREVIOUS PAGE

    Copyright © 2006    Oakton Community College
    Please direct questions or comments about the Oakton web site to the Webmaster.
    For further information or questions about the CIS discipline, please contact the Page Coordinator 
    and the CIS Coordinator,
    Michele Reznick, at (847) 635-1904.
    Last updated: