Chabot College Fall 2002 Removed Fall 2006 Course Outline for Computer Science 47B VISUAL BASIC FOR APPLICATIONS IN EXCEL, WORD AND ACCESS Catalog Description: 47B – Visual Basic for Applications in Excel, Word and Access 2 units Introduction to Visual Basic for Applications in Microsoft Office. Use of VBA objects in Excel, Word and Access to extend the capabilities of each of these programs. Prerequisite: Computer Science 10 or Computer Science11and Computer Science 47A (all completed with a grade of C or higher). 1.5 hours lecture, 1.5 hours laboratory Prerequisite Skills: Before entering the course the student should be able to: 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15. 16. 17. 18. 19. 20. 21. construct related data tables using primary/foreign key relational integrity rules; produce data entry forms that ensure data integrity; construct queries by QBE (query by example) and directly in SQL; produce reports that present data results in a meaningful and usable manner; link Access to the SQL Server database; recognize basic computer terms; identify personal computer system components and computer operating systems; navigate in the Windows environment; specify and design the user interface for a program using Visual Basic controls; develop algorithms for the solution of programming problems; write Visual Basic code using structured programming constructs, arrays, subroutines, functions and sequential text files; enter, edit, test and debug Visual Basic programs; produce well documented, user-friendly, easy-to-read programs with well-designed output; recognize and identify the specific elements of Visual Basic Windows environment; state the properties of controls and be able to create controls in a program; describe the properties of dialog boxes and be able to create programs which contain dialog boxes; define, recognize and use variables of various Visual Basic data types; write Visual Basic code which sets and retrieves properties, uses control structures, and is modular; create introductory Windows applications with elementary controls, menus and dialog boxes; write Windows applications involving mathematical calculations, text processing and list processing; use Visual Basic system debugging features to find and correct errors in a program. Expected Outcome for Students: Upon completion of the course the student should be able to: 1. 2. 3. 4. write small programs in the VBA language; use VBA to construct Word documents; use VBA to construct Excel spreadsheet applications; use VBA to enhance forms and reports in Access. Chabot College Course Outline for Computer Science 47B, Page 2 Fall 2002 Course Content: 1. Visual Basic for Applications a. Visual Basic editor b. VBA object model c. VBA variables d. Branching, looping and selection structures e. Dialog boxes f. Option, check and listbox controls g. OLE Automation 2. VBA in Excel 3. VBA in Word 4. VBA in Access Methods of Presentation: 1. Lecture, discussion and classroom demonstrations 2. Student use of Access database software in computer laboratory Assignments and Methods of Evaluating Student Progress: 1. Typical Assignments a. Create a M/S Excel Spreadsheet showing: 1) sales rep name 2) quota, and 3) bookings. Provide 2 buttons: 1) highlights ( with color) the reps below quota and 2) highlights (with color) the reps above quota. 2. Methods of Evaluating Student Progress a. Exams which may include quizzes, midterms and a required final examination. b. Writing and implementation of various and multiple assigned programs and other assignments that utilize all topics included in the course of study. Textbook(s) (typical): Microsoft Visual Basic for Applications, Diane Zak, Thomson Learning, 2001 Special Student Materials: Computer lab fee Diskettes Optional zip disk Revised: Fall 2002 CS 47B Outline Fall 2002