Excel VBA Macro Programming

  • 4h 41m
  • Richard Shepherd
  • McGraw-Hill/Osborne
  • 2004

Maximize the features and functionality of Excel with help from this unique resource designed specifically for power users. Inside, you’ll find complete details on Excel VBA programming and application development—from the fundamentals to advanced techniques. Then, you’ll get 21 real-world projects, complete with working code, so you can create Excel VBA macros right away. These projects include everything from setting up timed events to auto totaling a matrix of numbers to altering the appearance of spreadsheet components—and much more.

  • Write and debug VBA code
  • Create custom dialog boxes and toolbars
  • Take advantage of the Excel object model
  • Write code to interact with a database
  • Use application programming interface (API) calls
  • Create and use class modules
  • Develop unique menus within the Excel menu structure
  • Expand calculation and search functions
  • Write macros for customized worksheets
  • Create full-fledged Excel add-ins

About the Author

Richard Shepherd has been developing software for blue-chip corporations for 20 years. He has produced VBA code in Excel for major projects, including profit-and-loss reporting and business planning and budgeting.

In this Book

  • Excel VBA Macro Programming
  • Introduction
  • The Basics
  • Variables, Arrays, Constants, and Data Types
  • Modules, Functions, and Subroutines
  • Programming Basics: Decisions and Looping
  • Strings and Functions and Message Boxes
  • Operators
  • Debugging
  • Errors and the Error Function
  • Dialogs
  • Common Dialog Control
  • Command Bars and Buttons
  • The Excel Object Model
  • The Excel Object Model—Main Objects
  • Using Excel to Interact with Other Office Programs
  • Charts and Graphs
  • Working with Databases
  • API Calls
  • Class Modules
  • Animation
  • Converting Labels to Numbers and Numbers to Labels
  • Transposing a Range of Cells
  • Adding Formula Details into Comments
  • Calculating a Range
  • Reversing a Label
  • Who Created the Workbook?
  • Evaluating a Cell
  • Sorting Worksheets into Alphabetical Order
  • Replacing Characters in a String
  • Timed Events
  • Auto Totaling a Matrix of Numbers
  • Absolute and Relative Formulas
  • Coloring Alternate Rows and Columns of the Spreadsheet
  • Coloring Cells Containing Formulas
  • Summing Cells by Reference to a Master Cell
  • Globally Changing a Range of Values
  • Displaying Hidden Sheets Without a Password
  • Searching Multiple Sheets and Workbooks
  • Brighten Up Your Comments
  • An Alternative to Message Boxes
  • Working with Shapes
  • Turning Your VBA Code into an Add-In
SHOW MORE
FREE ACCESS

PEOPLE WHO VIEWED THIS ALSO VIEWED THESE

Rating 4.5 of 380 users Rating 4.5 of 380 users (380)
Rating 4.5 of 2861 users Rating 4.5 of 2861 users (2861)