excel programming weekend crash course®

458 723 0
excel programming weekend crash course®

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

Thông tin tài liệu

[...]... 397 Index .399 xxi Excel Programming Weekend Crash Course® Part I — Friday Evening Session 1 Microsoft Excel Programming — Why and How Session 2 The VBA Code Editor Session 3 The Excel Object Model Session 4 Syntax and Data in VBA PART I Friday Evening Session 1 Microsoft Excel Programming — Why and How Session 2 The VBA Code Editor Session 3 The Excel Object Model Session 4 Syntax... SESSION 1 Microsoft Excel Programming — Why and How Session Checklist ✔ The advantages of Excel programming ✔ Fundamentals of programming ✔ The Excel object model ✔ Programming and macros ✔ Designing your custom application ✔ Your first Excel program M ost people think of Excel as merely a spreadsheet program, and with good reason — Excel is a spreadsheet program As a spreadsheet program, Excel is a powerful... roles For programming Excel, VBA is acting as a client, and the Excel components are acting as servers Some Excel components act as clients to manipulate other components The result of this arrangement is that an Excel programmer has VBA, a powerful programming language, as well as access to all of the components that comprise the Excel application This is an extremely powerful combination — Excel is... the means you use to tell it what to do The sum of all the components exposed by Excel is referred to as the Excel object model The Excel object model is covered in detail later in the book, primarily in Session 3 Cross-Ref Macros and Programming If you have ever used Excel s macro feature, you have already done some Excel programming A macro is a sequence of user actions that is recorded and can be played... your programs Later sessions cover these features Figure 1-1 The VBA Editor The Excel Object Model The other essential component of Excel programming is the Excel object model To understand the object model, it helps to have some background information about the inner workings of programs such as Excel Objects As computer programming evolved over the years, programs have gotten more powerful and, unavoidably,... never go beyond using Excel in this way — truth be told, many users have no need Under the surface, however, Excel is much more than an application program It provides a sophisticated programming language that enables you to control any and all aspects of the program Anything you can do with the keyboard and mouse you can also do with programming For the power user, programming turns Excel into a flexible... two essential parts of Excel programming The name Visual Basic for Applications reflects the fact that VBA is based on Microsoft’s Visual Basic programming language, and that it is designed for programming within applications — specifically, the applications that comprise the Microsoft Office suite (Excel, Word, Access, PowerPoint, and Outlook) VBA is relatively easy to learn, as programming languages... really not as mysterious as it may sound Perhaps you already have some experience with computer programming of one sort of another If not, this section gives you some background information about what programming is and how it works Session 1 — Microsoft Excel Programming — Why and How 7 Creating Instructions Programming is really nothing more than creating instructions that tell the computer what to... 156 Logical Operators 156 Avoiding Circular References 157 Controlling Formula Calculation 158 SESSION 13 Programming with Excel s Built-In Functions 161 Excel s Built-in Functions .161 Using Excel Functions in Formulas 162 Excel Function Overview 163 Financial Functions 163 Date and Time Functions 166 Math and Trig Functions ... Evening 4 SESSION 1–Microsoft Excel Programming — Why and How 5 Advantages of Programming 5 Saving Time .6 Reducing Errors 6 Enforcing Standards .6 Integrating with Other Applications 6 Programming Fundamentals 6 Creating Instructions 7 Handling Data 7 The VBA Language 7 The Excel Object Model 8 Objects . y0 w0 h0" alt="" Excel Programming Weekend Crash Course ® Peter G. Aitken 540629 FM.qxd 9/2/03 4:10 PM Page i 540629 FM.qxd 9/2/03 4:10 PM Page x Excel Programming Weekend Crash Course ® Peter. Programming Weekend Crash Course ® Peter G. Aitken 540629 FM.qxd 9/2/03 4:10 PM Page i Excel Programming Weekend Crash Course® Published by Wiley Publishing, Inc. 909 Third Avenue New York, NY 10022 www.wiley.com Copyright. Formula Calculation 158 SESSION 13 Programming with Excel s Built-In Functions 161 Excel s Built-in Functions 161 Using Excel Functions in Formulas 162 Excel Function Overview 163 Financial

Ngày đăng: 01/06/2014, 09:41

Từ khóa liên quan

Mục lục

  • Excel Programming Weekend Crash Course

    • Cover

    • Contents at a Glance

    • Acknowledgments

    • Preface

    • Credits

    • About the Author

    • Contents

    • FRIDAY

    • PART I–Friday Evening

      • SESSION 1–Microsoft Excel Programming-Why and How

        • Advantages of Programming

          • Saving Time

          • Reducing Errors

          • Enforcing Standards

          • Integrating with Other Applications

          • Programming Fundamentals

            • Creating Instructions

            • Handling Data

            • The VBA Language

            • The Excel Object Model

              • Objects

              • Components and Automation

              • Macros and Programming

              • Designing Your Custom Application

              • Your First Excel Program

                • Creating and Naming the Program

Tài liệu cùng người dùng

Tài liệu liên quan