Cengage/Higher Education/Management Science/VBA for Modelers: Developing Decision Support Systems with Microsoft® Office Excel®
Return to search
VBA for Modelers: Developing Decision Support Systems with Microsoft® Office Excel® book cover
Student viewInstructor view

VBA for Modelers: Developing Decision Support Systems with Microsoft® Office Excel®

By S. Christian Albright

5th Edition © 2016
Discipline:Decision Sciences
Course:Management Science
Starting from$76.99
See pricing details and explore formats

Get your course materials

Cengage Unlimited

Get day-one access to course content, AI-powered support, and resources to build college and career-ready skills.

Manage Subscription

eBook

Get instant access to your course content on the device of your choice, with built-in tools like highlighting, bookmarking, and search.

Paperback

Buy or Rent the textbook

Get a new, printed copy of your textbook, ready for notes and highlighting. Plus, free shipping and returns on orders. *See terms and conditions.

Added to cart.
Something went wrong. Please try again.

Questions about this product?

Get help with product, platform or format questions.

Let’s connect
Explore instructor resources

About your course materials

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.

Frequently asked questions

How do I enroll in or join my course?

Your instructor will tell you how to access your course. You may join through your school’s LMS, a course link or a course key. If you’re unsure which method to use, check with your instructor.

How do I redeem an access code, or what if my code isn't working?

Sign in to your Cengage account and select Enter Access Code or Course Key, then enter your access code and select Register. If your code is damaged, missing or still doesn't work, contact Cengage Support.

Why can't I access my course?

How you access your course depends on how your instructor set it up. Start from your LMS, course link or course key. If you've purchased access but still can't open the course, Cengage Help can help you troubleshoot your access.

Where can I find my eBook or textbook?

You can access available eBooks from your Cengage student dashboard or from your Cengage course. If your class uses an LMS, your instructor may also provide access there.

What if I don't have access to my course materials yet?

Temporary access may be available for some Cengage courses. If offered, you can use your course during the grace period and purchase or register your access code before it ends. Options for expired access vary by product.

AboutTable of contentsResourcesPricing & formatsRelated products

About this product

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.

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.

Table of contents

Chapters

Cover
Half Title
Title
Statement
Copyright
Dedication
About the Author
Contents
Preface
Part I: VBA Fundamentals
Part II: VBA Management Science Applications
Index

Part I: VBA Fundamentals

Ch 1: Introduction to VBA Development in Excel
Preview this section ↗
1.1: Introduction ↗
1.2: VBA in Excel 2007 and Later Versions ↗
1.3: Example Applications ↗
1.4: Decision Support Systems ↗
1.5: Required Background ↗
1.6: Visual Basic Versus VBA ↗
1.7: Some Basic Terminology ↗
1.8: Summary ↗
Ch 2: The Excel Object Model
2.1: Introduction
2.2: Objects, Properties, Methods, and Events
2.3: Collections as Objects
2.4: The Hierarchy of Objects
2.5: Object Models in General
2.6: Summary
Ch 3: The Visual Basic Editor
3.1: Introduction
3.2: Important Features of the VBE
3.3: The Object Browser
3.4: The Immediate and Watch Windows
3.5: A First Program
3.6: Intellisense
3.7: Color Coding and Case
3.8: Finding Subs in the VBE
3.9: Summary
Ch 3: Exercises
Ch 4: Recording Macros
4.1: Introduction
4.2: How to Record a Macro
4.3: Changes from Excel 2007 to Later Versions
4.4: Recorded Macro Examples
4.5: Summary
Ch 4: Exercises
Ch 5: Getting Started with VBA
5.1: Introduction
5.2: Subroutines
5.3: Declaring Variables and Constants
5.4: Built-in Constants
5.5: Input Boxes and Message Boxes
5.6: Message Boxes with Yes and No Buttons
5.7: Using Excel Functions in VBA
5.8: Comments
5.9: Indenting
5.10: Strings
5.11: Specifying Objects, Properties, and Methods
5.12: With Construction
5.13: Other Useful VBA Tips
5.14: Good Programming Practices
5.15: Debugging
5.16: Summary
Ch 5: Exercises
Ch 6: Working with Ranges
6.1: Introduction
6.2: Exercise
6.3: Important Properties and Methods of Ranges
6.4: Referencing Ranges with VBA
6.5: Examples of Ranges with VBA
6.6: Range Names and Their Scope
6.7: Summary
Ch 6: Exercises
Ch 7: Control Logic and Loops
7.1: Introduction
7.2: Exercise
7.3: If Constructions
7.4: Case Constructions
7.5: For Loops
7.6: For Each Loops
7.7: Do Loops
7.8: Summary
Ch 7: Exercises
Ch 8: Working with Other Excel Objects
8.1: Introduction
8.2: Exercise
8.3: Collections and Members of Collections
8.4: Examples of Workbooks in VBA
8.5: Examples of Worksheets in VBA
8.6: Examples of Charts in VBA
8.7: Summary
Ch 8: Exercises
Ch 9: Arrays
9.1: Introduction
9.2: Exercise
9.3: The Need for Arrays
9.4: Rules for Working with Arrays
9.5: Examples of Arrays in VBA
9.6: Array Functions
9.7: Summary
Ch 9: Exercises
Ch 10: More on Variables and Subroutines
10.1: Introduction
10.2: Exercise
10.3: Scope of Variables and Subroutines
10.4: Modularizing Programs
10.5: Passing Arguments
10.6: Function Subroutines
10.7: The Workbook_Open Event Handler
10.8: Summary
Ch 10: Exercises
Ch 11: User Forms
11.1: Introduction
11.2: Exercise
11.3: Designing User Forms
11.4: Setting Properties of Controls
11.5: Creating a User Form Template
11.6: Writing Event Handlers
11.7: Looping Through the Controls on a User Form
11.8: Working with List Boxes
11.9: Modal and Modeless Forms
11.10: Working with Excel Controls
11.11: Summary
Ch 11: Exercises
Ch 12: Error Handling
12.1: Introduction
12.2: Error Handling with On Error Statement
12.3: Handling Inappropriate User Inputs
12.4: Summary
Ch 12: Exercises
Ch 13: Working with Files and Folders
13.1: Introduction
13.2: Exercise
13.3: Dialog Boxes for File Operations
13.4: The FileSystemObject Object
13.5: A File Renaming Example
13.6: Working with Text Files
13.7: Summary
Ch 13: Exercises
Ch 14: Importing Data into Excel from a Database
14.1: Introduction
14.2: Exercise
14.3: A Brief Introduction to Relational Databases
14.4: A Brief Introduction to SQL
14.5: ActiveX Data Objects (ADO)
14.6: Discussion of the Sales Orders Exercise
14.7: Summary
Ch 14: Exercises
Ch 15: Working with Pivot Tables and Tables
15.1: Introduction
15.2: Working with Pivot Tables Manually
15.3: Working with Pivot Tables Using VBA
15.4: An Example
15.5: PowerPivot and the Data Model
15.6: Working with Excel Tables Manually
15.7: Working with Excel Tables with VBA
15.8: Summary
Ch 15: Exercises
Ch 16: Working with Ribbons, Toolbars, and Menus
16.1: Introduction
16.2: Customizing Ribbons
16.3: Using RibbonX and XML to Customize Ribbons
16.4: Using RibbonX to Customize the QAT
16.5: CommandBar and Related Office Objects
16.6: A Grading Program Example
16.7: Summary
Ch 16: Exercises
Ch 17: Automating Solver and Other Applications
17.1: Introduction
17.2: Exercise
17.3: Automating Solver with VBA
17.4: Possible Solver Problems
17.5: Programming with Risk Solver Platform
17.6: Automating @RISK with VBA
17.7: Automating Other Office Applications with VBA
17.8: Summary
Ch 17: Exercises
Ch 18: User-Defined Types, Enumerations, Collections, and Classes
18.1: Introduction
18.2: User-Defined Types
18.3: Enumerations
18.4: Collections
18.5: Classes
18.6: Summary
Ch 18: Exercises
Show more

Resources

Instructor resources for this title can include manuals, test banks, educator guides, multimedia and companion sites. Sign in to see what is available.

Instructor manuals
Test banks
Educator guides
Multimedia
Companion sites
Sign in to view & download

Pricing and formats

Learning Platforms
eBook
Paperback
Bundle

Give students more with Cengage Unlimited

Choose the Cengage content and Learning Platform that fit your course while giving students access to Cengage Learning Platforms and our entire eBook library with one subscription.

4-12 month student access

$169.99 – $244.99

eBook

Give students digital access to textbook content with tools to highlight, bookmark and search as they read.

6 months

ISBN-13: 9781305897656
$76.99

12 months

ISBN-13: 9781305897656
$105.99
Sign in to view & adopt this title

Paperback

Purchase

ISBN-13: 9781285869612
$389.95
Sign in to view & adopt this title

Related products

Quantitative Methods for Business book cover
Higher Education
New

Quantitative Methods for Business

Jeffrey D. Camm, James J. Cochran, Michael J. Fry, Jeffrey W. Ohlmann
14th Edition © 2027
Paperback
WebAssign
eBook
Starting from
$76.99
View details
An Introduction to Management Science: Quantitative Approaches to Decision Making book cover
Higher Education

An Introduction to Management Science: Quantitative Approaches to Decision Making

Jeffrey D. Camm, James J. Cochran, Michael J. Fry, Jeffrey W. Ohlmann, David R. Anderson, Dennis J. Sweeney, Thomas A. Williams
16th Edition © 2023
Paperback
WebAssign
eBook
Starting from
$76.99
View details
Spreadsheet Modeling and Decision Analysis: A Practical Introduction to Business Analytics book cover
Higher Education

Spreadsheet Modeling and Decision Analysis: A Practical Introduction to Business Analytics

Cliff Ragsdale
9th Edition © 2022
Hardback
WebAssign
eBook
Starting from
$76.99
View details
Practical Management Science book cover
Higher Education

Practical Management Science

Wayne L. Winston, S. Christian Albright
6th Edition © 2019
Hardback
MindTap
eBook
Starting from
$76.99
View details
Business Analytics: Data Analysis & Decision Making book cover
Higher Education

Business Analytics: Data Analysis & Decision Making

S. Christian Albright, Wayne L. Winston
6th Edition © 2017
Hardback
MindTap
eBook
Starting from
$53.99
View details
Quantitative Methods for Business book cover
Higher Education

Quantitative Methods for Business

David R. Anderson, Dennis J. Sweeney, Thomas A. Williams, Jeffrey D. Camm, James J. Cochran, Michael J. Fry, Jeffrey W. Ohlmann
13th Edition © 2016
CNOWv2
Hardback
WebAssign
Starting from
$76.99
View details

This product is provided solely for instructional purposes, and your use of this product is governed by Cengage's Terms of Use. By using this product, you acknowledge your obligation to comply with these terms. View Terms of Use.

Cengage support team
Cengage support team

Still need support?

Get help with course access, registration, purchases or technical issues from Cengage Support.
Contact support
Cengage support team
Cengage support team

Need help?

Connect with us today, and let’s explore how we can support your goals.
Get in touch
Cengage
Higher Education
K–12
Higher Education

Higher Education

Future-focused tools to teach, learn, and build career-ready skills.
Get started

Students

Instructors

Leaders

Librarians

Career and Workforce
Sign In

Higher Education

Student
Instructor
Gale
ELL
Name
Dashboard
Profile
Sign Out
Support

Recent searches

Chemistry
Mindtap Biology
Calculus
Recent query

Suggestions

Calculus230 results
Calculus Early Transcendentals84 results
Calculus Concepts37 results
Suggestion0 results

Matching products

2 results
Abstract navy to teal gradient placeholder
TAGTAGTAG
9th Edition•© 2021

Calculus: Early Transcendentals

James Stewart, Daniel K. Clegg and Saleem Watson

Abstract navy to teal gradient placeholder
TAGTAGTAG
9th Edition•© 2021

Calculus

James Stewart, Daniel K. Clegg and Saleem Watson

TAG
Edition

Product title

Authors
No matching products. Press Enter to search the full catalog.
Product suggestions are unavailable right now. Press Enter to search the full catalog.
Searching…
Sign In

Higher Education

Student
Instructor
Gale
ELL
Name
Dashboard
Profile
Sign Out
Your basket (3)
eTextbook: Calculus | 12th Edition
eTextbook Access: 360 days
$76.99
Cengage Unlimited - Full - Multi-Term Access (12 months)
Digital Access: 365 days
$124.99
Introduction to Physical Anthropology | 15th Edition
Textbook
$124.99
This is some text inside of a div block.
This is some text inside of a div block.
This is some text inside of a div block.
Your basket is empty.
We couldn’t load your basket. Please try again.
Loading your basket…
Total:
$201.98
I’m ready to checkout
Get Support
US
Change Country
Students

Students

See Overview

Access & Use Products

Access Instructions
Help Center

Get Help

Instructors

Instructors

See Overview

Products

Disciplines
Learning Platforms
Cengage Unlimited

Access & Use Products

Instructor Support
Course Setup
Training
Help Center

Get help

Leaders & Admins

Leaders & Admins

See Overview

Programs

Cengage Unlimited
Gale

Access & Use Products

LMS Integration

Resources

Published Research
Help Center

Get help

Librarians

Librarians

See Overview

Products

Databases
Primary Sources
Digital Humanities Tools
eLearning

Access & Use Products

Discovery Services
Gale Support
Gale Support

Get Support

Find Your Local Cengage Site

Select country
🇦🇫
Afghanistan
🇦🇱
Albania
🇩🇿
Algeria
🇦🇩
Andorra
🇦🇴
Angola
🇦🇮
Anguilla
🇦🇬
Antigua and Barbuda
🇦🇷
Argentina
🇦🇲
Armenia
🇦🇼
Aruba
🇦🇺
Australia
🇦🇹
Austria
🇦🇿
Azerbaijan
🇧🇸
Bahamas
🇧🇭
Bahrain
🇧🇩
Bangladesh
🇧🇧
Barbados
🇧🇾
Belarus
🇧🇪
Belgium
🇧🇿
Belize
🇧🇯
Benin
🇧🇲
Bermuda
🇧🇹
Bhutan
🇧🇴
Bolivia
🇧🇦
Bosnia and Herzegovina
🇧🇼
Botswana
🇧🇷
Brazil
🇻🇬
British Virgin Islands
🇧🇳
Brunei
🇧🇬
Bulgaria
🇧🇫
Burkina Faso
🇧🇮
Burundi
🇰🇭
Cambodia
🇨🇲
Cameroon
🇨🇦
Canada
🇨🇻
Cape Verde
🇰🇾
Cayman Islands
🇨🇫
Central African Republic
🇹🇩
Chad
🇨🇱
Chile
🇨🇳
China
🇨🇴
Colombia
🇰🇲
Comoros
🇨🇰
Cook Islands
🇨🇷
Costa Rica
🇨🇮
Côte d'Ivoire
🇭🇷
Croatia
🇨🇺
Cuba
🇨🇾
Cyprus
🇨🇿
Czech Republic
🇨🇩
Democratic Republic of the Congo
🇩🇰
Denmark
🇩🇯
Djibouti
🇩🇲
Dominica
🇩🇴
Dominican Republic
🇪🇨
Ecuador
🇪🇬
Egypt
🇸🇻
El Salvador
🇬🇶
Equatorial Guinea
🇪🇷
Eritrea
🇪🇪
Estonia
🇸🇿
Eswatini
🇪🇹
Ethiopia
🇫🇰
Falkland Islands (Malvinas)
🇫🇴
Faroe Islands
🇫🇯
Fiji
🇫🇮
Finland
🇫🇷
France
🇬🇫
French Guiana
🇬🇪
Georgia
🇩🇪
Germany
🇬🇭
Ghana
🇬🇮
Gibraltar
🇬🇷
Greece
🇬🇱
Greenland
🇬🇩
Grenada
🇬🇵
Guadeloupe
🇬🇺
Guam
🇬🇹
Guatemala
🇬🇳
Guinea
🇬🇼
Guinea-Bissau
🇬🇾
Guyana
🇭🇹
Haiti
🇭🇳
Honduras
🇭🇰
Hong Kong
🇭🇺
Hungary
🇮🇸
Iceland
🇮🇳
India
🇮🇩
Indonesia
🇮🇷
Iran
🇮🇶
Iraq
🇮🇪
Ireland
🇮🇱
Israel
🇮🇹
Italy
🇯🇲
Jamaica
🇯🇵
Japan
🇯🇴
Jordan
🇰🇿
Kazakhstan
🇰🇪
Kenya
🇰🇮
Kiribati
🇰🇼
Kuwait
🇰🇬
Kyrgyzstan
🇱🇦
Laos
🇱🇻
Latvia
🇱🇧
Lebanon
🇱🇸
Lesotho
🇱🇷
Liberia
🇱🇮
Liechtenstein
🇱🇹
Lithuania
🇱🇺
Luxembourg
🇲🇴
Macau
🇲🇬
Madagascar
🇲🇼
Malawi
🇲🇾
Malaysia
🇲🇻
Maldives
🇲🇱
Mali
🇲🇹
Malta
🇲🇭
Marshall Islands
🇲🇶
Martinique
🇲🇷
Mauritania
🇲🇺
Mauritius
🇲🇽
Mexico
🇲🇩
Moldova
🇲🇨
Monaco
🇲🇳
Mongolia
🇲🇪
Montenegro
🇲🇸
Montserrat
🇲🇦
Morocco
🇲🇿
Mozambique
🇲🇲
Myanmar
🇳🇦
Namibia
🇳🇷
Nauru
🇳🇵
Nepal
🇳🇱
Netherlands
🇳🇿
New Zealand
🇳🇮
Nicaragua
🇳🇪
Niger
🇳🇬
Nigeria
🇳🇺
Niue
🇰🇵
North Korea
🇲🇰
North Macedonia
🇳🇴
Norway
🇴🇲
Oman
🇵🇰
Pakistan
🇵🇼
Palau
🇵🇸
Palestine
🇵🇦
Panama
🇵🇬
Papua New Guinea
🇵🇾
Paraguay
🇨🇬
People's Republic of Congo
🇵🇪
Peru
🇵🇭
Philippines
🇵🇱
Poland
🇵🇹
Portugal
🇵🇷
Puerto Rico
🇶🇦
Qatar
🇷🇴
Romania
🇷🇺
Russia
🇷🇼
Rwanda
🇼🇸
Samoa
🇸🇲
San Marino
🇸🇹
Sao Tome and Principe
🇸🇦
Saudi Arabia
🇸🇳
Senegal
🇷🇸
Serbia
🇸🇨
Seychelles
🇸🇱
Sierra Leone
🇸🇬
Singapore
🇸🇰
Slovakia
🇸🇮
Slovenia
🇸🇧
Solomon Islands
🇸🇴
Somalia
🇿🇦
South Africa
🇰🇷
South Korea
🇪🇸
Spain
🇱🇰
Sri Lanka
🇰🇳
St. Kitts and Nevis
🇱🇨
St. Lucia
🇵🇲
St. Pierre and Miquelon
🇻🇨
St. Vincent & The Grenadines
🇸🇩
Sudan
🇸🇷
Suriname
🇸🇯
Svalbard and Jan Mayen Islands
🇸🇪
Sweden
🇨🇭
Switzerland
🇸🇾
Syria
🇹🇼
Taiwan
🇹🇯
Tajikistan
🇹🇿
Tanzania
🇹🇭
Thailand
🇹🇱
Timor-Leste
🇹🇬
Togo
🇹🇰
Tokelau
🇹🇴
Tonga
🇹🇹
Trinidad and Tobago
🇹🇳
Tunisia
🇹🇷
Turkey
🇹🇲
Turkmenistan
🇹🇨
Turks and Caicos Islands
🇹🇻
Tuvalu
🇺🇬
Uganda
🇺🇦
Ukraine
🇦🇪
United Arab Emirates
🇬🇧
United Kingdom
🇺🇸
United States
🇺🇾
Uruguay
🇺🇿
Uzbekistan
🇻🇺
Vanuatu
🇻🇦
Vatican
🇻🇪
Venezuela
🇻🇳
Vietnam
🇪🇭
Western Sahara
🇾🇪
Yemen
🇿🇲
Zambia
🇿🇼
Zimbabwe
Cengage

Welcome to Cengage

It looks like you’re visiting from another country. Would you like to visit your local Cengage site instead?

Cengage logo

Support

(800) 354-9706

support.cengage.com

K–12

Higher Education

Career and Workforce

Students

Instructors

Leaders & Admin

Librarians

Company

About

News

Research & Outcomes

Investors

Careers

Content Development Philosophy

Authors/Royalties

Cengage AI

Contact

Contact Us

Support

ServicePlus Ordering

© 2020 Cengage Learning, Inc. and its affiliates

Copyright

Privacy

Piracy

Terms of Use

Accessibility

Compliance & Ethics

Do Not Sell