Office XP Development with VBA - Peter G. Aitken - Librairie Eyrolles
Tous nos rayons

Déjà client ? Identifiez-vous

Mot de passe oublié ?

Nouveau client ?

CRÉER VOTRE COMPTE
Office XP Development with VBA
Ajouter à une liste

Librairie Eyrolles - Paris 5e
Indisponible

Office XP Development with VBA

Office XP Development with VBA

Peter G. Aitken

510 pages, parution le 01/09/2001

Résumé

  • Create custom business solutions with Microsoft Office XP and Office 2000!
  • Extend Word, Excel, Outlook, and other Office applications.
  • Learn all aspects of Office development, including security and distribution.
  • Leverage Office's powerful collaboration, intranet, and Web capabilities
  • For novice developers and Office power users!
  • Discover the power of Office programming
  • Applies to both Office XP and Office 2000
  • Master the Visual Basic for Applications (VBA) language and development environment
  • Understand the powerful components in the Office object model
  • Build custom tools that leverage email and the Web
  • Construct four Office applications - step-by-step
  • No Microsoft Office programming experience necessary!

Developing robust custom solutions with Microsoft Office XP/2000!Microsoft Office is far more than the world's leading office productivity suite. Itspowerful capabilities are organized into hundreds of programmable components, all available to any developer who needs to create custom business solutions. Bycombining these components with the powerful Visual Basic for Applications (VBA) programming language, you can construct powerful applications far more quickly than if you built them from scratch. These components and VBA are available in both Office XP and Office 2000, which means you can use them whether or not you upgraded.

In this book, expert developer and consultant Peter G. Aitken shows exactly how toleverage the power of Microsoft Office in custom application development. Whetheryou're an experienced developer or a busineswith a problem that needssolving, Aitken will show you how to do it with Office — step by step.

Aitken begins by reviewing each key Office application - Word, Excel, Access,PowerPoint, Frontpage, and Outlook - and the shared components accessible to all ofthem. You'll discover powerful opportunities for extending and automating Office to increase efficiency and improve collaboration throughout your organization. Then, onestep at a time, Aitken teaches the key VBA skills you'll need to achieve your goals. Finally, this book walks you through the construction of four real-world Office applications, emphasizing the potential value of Office custom solutions in real-world business situations.

Contents

Preface.

I. INTRODUCTION TO OFFICE DEVELOPMENT.

1. Why Develop with Office and VBA?
Advantages of Office Development. Software Components. Objects and Components. The Office XP Suite. What's New in Office XP. Summing Up.

2. The Basics of Office Development.
Objects and Automation. The Office Object Model. Designing Your Custom Application. A Simple Office Application. Summing Up.

3. Visual Basic for Applications-the Fundamentals.
Parts of the VBA Editor. Working with Code. Importing and Exporting Modules. Writing Good Code. Adding References. Securing Your Code. Summing Up.

4. Working with Office Objects.
Objects and References. Collections. Finding Objects in the Object Hierarchy. Early versus Late Binding. The Object Browser. Objects and Events. Summing Up.

II. THE OFFICE COMPONENTS.


5. Using Word Components.
The Word Object Model. The Document Object. The Selection Object. The Range Object. Using Bookmarks. Finding and Replacing Text. The Application Object. The View Object. Events in Word. Summing Up.

6. Using Excel Components.
Excel Overview. The Excel Object Model. The Workbook Object. The Worksheet Object. Range Offsets, Unions, and Intersections. Using the Cells Property. Naming Ranges.Manipulating Worksheet Contents. Working with Charts. The Application Object. Events in Excel. Summing Up.

7. Using Data Access Components.
Access Fundamentals. Data Access Technologies. The Access Object Model. Working with Forms and Reports. Working with Data Access Pages. Creating Data Access Pages. Using Data Access Pages. Securing Databases. Database Passwords. Active Data Objects. RecordSets. Summing Up.

8. Using PowerPoint Components.
The Presentation Object. The Slide Object. Working With Text on Shapes. The PowerPoint Application Object. Summing Up.

9. Using FrontPage Components.
FrontPage Overview. The Web Object. Working with Folders. Working with Web Pages. Working with PageWindows. Dynamic HTML-Should You Use It? Summing Up.

10. Using Outlook Components.
Outlook Overview. The Application and NameSpace Objects. Manipulating Folders and Items. Working with Mail Messages. VBA in Outlook. Events in Outlook. Programming the Calendar. Summing Up.

11. Using the Shared Office Components.
Shared Components Overview. The Office Assistant. Displaying Controls in a Balloon. Using Modeless Balloons. The FileDialog Object. The FileSearch Object. Command Bars. Document Properties. Summing Up.

III. THE VBA LANGUAGE.


12. Data Storage and Operators.
Basic VBA Syntax. Storing Program Data. Arrays. Static Arrays. Dynamic Arrays. Operators. Summing Up.

13. Conditional and Loop Statements.
Conditional Statements. Loop Statements. The GoTo Statement. Summing Up.

14. Writing Procedures.
Types of Procedures. Defining a Procedure. Passing Arguments. Variables in Procedures. Calling a Procedure. Named Arguments. Procedure Scope. Planning and Storing Procedures. Summing Up.

15. Working with Strings.
String-Processing Summary. Summing Up.

16. Working with Dates and Times.
The Date Data Type. Creating Dates and Times. Adding and Subtracting Dates and Times. Getting Date and Time Information. Formatting Dates and Times. Summing Up.

17. Working with Files.
Overview. File Access. Working with Text Files. File Management. FSO Methods. The Drive Object. The Folder Object. The File Object. Summing Up.

18. Creating Custom Classes and Objects.
Why Create Classes? Class Module Fundamentals. Creating Class Properties. Creating Class Methods. Class Events. A Class Demonstration. Summing Up.

19. Creating User Forms.
Creating a User Form. What Controls Are Available? User Form Code and Event Procedures. Displaying, Using, and Hiding User Forms. A User Form Demonstration. Summing Up.

IV. OTHER OFFICE DEVELOPMENT TOOLS.


20. VBA Error Handling.
Writing Solid Code. Runtime Errors. The Err Object. Handling an Error. Resuming Execution After an Error. On Error Resume Next. ADO Errors. Raising Errors. Class Module Errors. Returning Errors from Functions. Testing Your Error-Handling Code. Error Logging. Dealing with Unanticipated Errors. Summing Up.

21. Debugging, Deploying, and Supporting Your Application.
Debugging Your Applications. Working with Breakpoints. Using Watches. The Locals Window. Controlling Program Execution. Deploying Your Application. Supporting an Application with Online Help. Summing Up.

22. Using the Windows API and Registry.
The Windows API. Strings and API Procedures. Using Callbacks. The Windows Registry. Summing Up.

23. Office Technologies for the Web.
Web Components Overview. Using the Web Components. Using the Spreadsheet Control. Using the PivotTable Control. Using the Chart Control. Using the DataSource Control. Summing Up 456

V. PUTTING IT ALL TO WORK.


24. Web Publishing of a MultiAuthor Compound Document.
The Scenario. Planning. The Main Application. Summing Up.

25. Numeric Processing and Graphing.
The Scenario. Planning. Creating the Workbook. Planning the Code. Potential Errors and Bugs. The Main Procedure. The Secondary Procedures. Summing Up.

26. Custom Report Generation.
The Scenario. Report Generation Basics. Structure of a Report. Adding Report Elements. A Demonstration. Summing Up.

Appendix: KeyCode Constants and Values.
Index.

L'auteur - Peter G. Aitken

Peter Aitken écrit pour le domaine informatique (presse et livres) depuis plus de 15 ans.

Caractéristiques techniques

  PAPIER
Éditeur(s) Prentice Hall
Auteur(s) Peter G. Aitken
Parution 01/09/2001
Nb. de pages 510
Format 17,8 x 23,5
Couverture Broché
Poids 1007g
Intérieur Noir et Blanc
EAN13 9780130654175

Avantages Eyrolles.com

Livraison à partir de 0,01 en France métropolitaine
Paiement en ligne SÉCURISÉ
Livraison dans le monde
Retour sous 15 jours
+ d'un million et demi de livres disponibles
satisfait ou remboursé
Satisfait ou remboursé
Paiement sécurisé
modes de paiement
Paiement à l'expédition
partout dans le monde
Livraison partout dans le monde
Service clients sav@commande.eyrolles.com
librairie française
Librairie française depuis 1925
Recevez nos newsletters
Vous serez régulièrement informé(e) de toutes nos actualités.
Inscription