Request for consultation

Thanks for your request. You’ll soon be chatting with a consultant to get the answers you need.
{{formPostErrorMessage.message}} [{{formPostErrorMessage.code}}]
First Name is required. 'First Name' must contain at least 0 characters 'First Name' cannot exceed 0 characters Please enter a valid First Name
Last Name is required. 'Last Name' must contain at least 0 characters 'Last Name' cannot exceed 0 characters Please enter a valid Last Name
Institution is required.
Discipline is required.
Why are you contacting us today? is required. 'Why are you contacting us today?' must contain at least 0 characters 'Why are you contacting us today?' cannot exceed 0 characters Please enter a valid Why are you contacting us today?

Overview

Help your students master both basic and advanced skills in Visual Basic for Applications (VBA), the programming language for Microsoft® Office, with this essential tool. Chris Albright’s VBA FOR MODELERS: DEVELOPING DECISION SUPPORT SYSTEMS WITH MICROSOFT OFFICE EXCEL, 5E provides everything you need to teach students how to automate common spreadsheet tasks as well as create the sophisticated management science applications needed in business today. The first half of the book introduces students to the fundamentals of VBA for Excel®. The second half puts knowledge into action as it illustrates how to automate a number of management science models using VBA. Students learn how to use applications to present a user-friendly interface for inputs and results. This new edition improves code readability, introduces PowerPivot and the Excel Data Model and demonstrates a new method to pass information between modules and user forms that avoids using global variables.

S. Christian Albright, Indiana University, School of Business

S. Christian Albright received his B.S. degree in mathematics from Stanford in 1968 and his Ph.D. in operations research from Stanford in 1972. Since then, he has been teaching in the Operations and Decision Technologies Department in the Kelley School of Business at Indiana University until his retirement in 2011. He has taught courses in management science, computer simulation, and statistics to all levels of business students: undergraduates, MBAs, and doctoral students. His current interest is in spreadsheet modeling, including development of VBA applications in Excel®. Dr. Albright has published more than 20 articles in leading operations research journals in applied probability. He has also published several successful textbooks, including BUSINESS ANALYTICS: DATA ANALYSIS AND DECISION MAKING; DATA ANALYSIS FOR MANAGERS; SPREADSHEET MODELING AND APPLICATIONS; and VBA FOR MODELERS.
  • NEW! CODE IS EASIER TO READ THAN EVER BEFORE. This edition includes minor code changes for improved code readability and accessibility for students. This edition provides the “cleanest” code possible so that students can emulate good programming practices.
  • NEW METHOD FOR PASSING INFORMATION BETWEEN MODULES AND USER FORMS. This new method avoids the use of global variables, making it easier for students to follow and understand.
  • NEW BRIEF SECTION ON POWERPIVOT AND THE EXCEL DATA MODEL. Students become familiar with this new approach for integrating data from multiple tables and building a relational data source inside an Excel workbook.
  • STUDENTS GAIN SUCCESS IN SIMPLE AUTOMATIONS BEFORE TACKLING MORE COMPLEX CHALLENGES. Students begin with simple macros for automating common spreadsheet tasks before progressing to complete decision support systems.
  • STUDENTS LEARN TO MAXIMIZE THE POTENTIAL CAPABILTIES OF VBA. The author effectively illustrates the power of VBA when coupled with management science models.
1. Introduction to VBA Development in Excel.
Introduction. VBA in Excel 2007 and 2010. Example Applications. Decision Support Systems. Required Background. Visual Basic Versus VBA. Some Basic Terminology. Summary.
2. The Excel Object Model.
Introduction. Objects, Properties, Methods, and Events. Collections as Objects. The Hierarchy of Objects. Object Models in General. Summary.
3. The Visual Basic Editor.
Introduction. Important Features of the VBE. The Object Browser. The Immediate and Watch Windows. A First Program. Intellisense. Color Coding and Case. Finding Subs in the VBE. Summary.
4. Recording Macros.
Introduction. How to Record a Macro. Changes from Excel 2007 to Excel 2010. Recorded Macro Examples. Summary.
5. Getting Started with VBA.
Introduction. Subroutines. Declaring Variables and Constants. Built-In Constants. Input Boxes and Message Boxes. Message Boxes with Yes and No Buttons. Using Excel Functions in VBA. Comments. Indenting. Strings. Specifying Objects, Properties, and Methods. With Construction. Other Useful VBA Tips. Good Programming Practices. Debugging. Summary.
6. Working with Ranges.
Introduction. Exercise. Important Properties and Methods of Ranges. Referencing Ranges with VBA. Examples of Ranges with VBA. Range Names and Their Scope. Summary.
7. Control Logic and Loops.
Introduction. Exercise. If Constructions. Case Constructions. For Loops. For Each Loops. Do Loops. Summary.
8. Working with Other Excel Objects.
Introduction. Exercise. Collections and Members of Collections. Examples of Workbooks in VBA. Examples of Worksheets in VBA. Examples of Charts in VBA. Summary.
9. Arrays.
Introduction. Exercise. The Need for Arrays. Rules for Working with Arrays. Examples of Arrays in VBA. Array Functions. Summary.
10. More on Variables and Subroutines.
Introduction. Exercise. Scope of Variables and Subroutines. Modularizing Programs. Passing Arguments. Function Subroutines. The Workbook Open Event Handler. Summary.
11. User Forms
Introduction. Exercise. Designing User Forms. Setting Properties of Controls. Creating a User Form Template. Writing Event Handlers. Displaying a User Form. Looping Through the Controls on a User Form. Working with List Boxes. Modal and Modeless. Working with Excel Controls. Summary.
12. Error Handling.
Introduction. Error Handling with On Error Statement. Handling Inappropriate User Inputs. Summary.
13. Working with Files and Folders.
Introduction. Exercise. Dialog Boxes for File Operations. The File System Object. A File Renaming Example. Working with Text Files. Summary.
14. Importing Data into Excel from a Database.
Introduction. Exercise. A Brief Introduction to Relational Databases. A Brief Introduction to SQL. ActiveX Data Objects (ADO). Discussion of the Sales Orders Exercise. Summary.
15. Working with Pivot Tables and Tables.
Introduction. Working with Pivot Tables Manually. Working with Pivot Tables Using VBA. An Example. Working with Excel Tables Manually. Working with Excel Tables with VBA. Summary.
16. Working with Ribbons, Menus, and Toolbars.
Introduction. Customizing Ribbons in Excel 2010. Using RibbonX and XML to Customize Ribbons. Using RibbonX to Customize the QAT. CommandBar and Related Office Objects. A Grading Program Example. Summary.
17. Automating Solver and Other Applications.
Introduction. Exercise. Automating Solver with VBA. Possible Solver Problems. Programming with Risk Solver Platform. Automating Palisade Add-Ins with VBA. Automating Other Office Applications with VBA. Summary.
18. User-Defined Types, Enumerations, Collections, and Classes.
User-Defined Types. Enumerations. Collections. Classes. Summary.
Part II: VBA MANAGEMENT SCIENCE APPLICATIONS.
19. Basic Ideas for Application Development with VBA.
Introduction. Guidelines for Application Development. A Car Loan Application. Summary.
20. A Blending Application.
Introduction. Functionality of the Application. Running the Application. Setting Up the Excel Sheets. Getting Started with the VBA. The User Forms. The Module. Summary.
21. A Product Mix Application.
Introduction. Functionality of the Application. Running the Application. Setting Up the Excel Sheets. Getting Started with the VBA. The User Form. The Module. Summary.
22. A Worker Scheduling Application.
Introduction. Functionality of the Application. Running the Application. Setting Up the Excel Sheets. Getting Started with the VBA. The User Form. The Module. Summary.
23. A Production Planning Application.
Introduction. Functionality of the Application. Running the Application. Setting Up the Excel Sheets. Getting Started with the VBA. The User Forms. The Module. Summary.
24. A Transportation Application.
Introduction. Functionality of the Application. Running the Application. Setting Up the Access Database. Setting Up the Excel Sheets. Getting Started with the VBA. The User Form and Its Event Handlers. The VBA Code in the Module. Summary.
25. A Stock Trading Simulation Application.
Introduction. Functionality of the Application. Running the Application. Setting Up the Excel Sheets. Getting Started with the VBA. The Module. Summary.
26. A Capital Budgeting Application.
Introduction. Functionality of the Application. Running the Application. Setting Up the Excel Sheets. Getting Started with the VBA. The User Form. The Module. Summary.
27. A Regression Application.
Introduction. Functionality of the Application. Running the Application. Setting Up the Excel Sheets. Getting Started with the VBA. The User Form. The Module. Summary.
28. An Exponential Utility Application.
Introduction. Functionality of the Application. Running the Application. Setting Up the Excel Sheets. Getting Started with the VBA. The User Form. The Module. Summary.
29. A Queuing Simulation Application.
Introduction. Functionality of the Application. Running the Application. Setting Up the Excel Sheets. Getting Started with the VBA. The Structure of a Queuing Simulation. The Module. Summary.
30. An Option Pricing Application.
Introduction. Functionality of the Application. Running the Application. Setting Up the Excel Sheets. Getting Started with the VBA. The User Form. The Module. Summary.
31. An Application for Finding Betas of Stocks.
Introduction. Functionality of the Application. Running the Application. Setting Up the Excel Sheets. Getting Started with the VBA. The User Forms. The Module. Summary.
32. A Portfolio Optimization Application.
Introduction. Functionality of the Application. Running the Application. Web Queries in Excel. Setting Up the Excel Sheets. Getting Started with the VBA. The User Forms. The Module. Summary.
33. A Data Envelopment Analysis Application.
Introduction. Functionality of the Application. Running the Application. Setting Up the Excel Sheets and the Text File. Getting Started with the VBA. Getting Data from a Text File. The Module. Summary.
34. An AHP Application for Choosing a Job.
You can access chapter 34 at our website, www.CengageBrain.com.
35. A Poker Simulation Application.
You can access chapter 35 at our website, www.CengageBrain.com.

Textbook Only Options

Traditional eBook and Print Options

{{collapseContainerClosed['detail_0'] ? 'Show More' : 'Show Less'}}
z

  • ISBN-10: 130589765X
  • ISBN-13: 9781305897656
  • STARTING AT $42.99

  • STARTING AT $51.49

  • ISBN-10: 1285869613
  • ISBN-13: 9781285869612
  • Bookstore Wholesale Price $243.75
  • RETAIL $324.95

Cengage provides a range of supplements that are updated in coordination with the main title selection. For more information about these supplements, contact your Learning Consultant.

FOR INSTRUCTORS

Instructor's Website

ISBN: 9781305507173
Save time with all of the important resources you need, instantly accessible on the Web, with this helpful Instructor’s Companion website. You’ll find a wealth of tools at your fingertips, all password protected and ready for quick download as you need them.

Website

ISBN: 9781305507500
Give your students a wealth of convenient resources to help them succeed in this course with this convenient Companion Website. Students gain instant access to learning tools and resources that will help them master VBA.

FOR STUDENTS

Website

ISBN: 9781305507500
Find helpful resources you need to succeed in this course on this convenient Student Companion Website. You have instant access to learning tools and resources that will help you master VBA.