Mastering VBA for Office 2010 (eBook)

eBook Download: PDF
2010 | 1. Auflage
912 Seiten
Wiley (Verlag)
978-0-470-92263-7 (ISBN)

Lese- und Medienproben

Mastering VBA for Office 2010 -  Richard Mansfield
Systemvoraussetzungen
40,99 inkl. MwSt
  • Download sofort lieferbar
  • Zahlungsarten anzeigen
A comprehensive guide to the language used to customize Microsoft Office Visual Basic for Applications (VBA) is the language used for writing macros, automating Office applications, and creating custom applications in Word, Excel, PowerPoint, Outlook, and Access. This complete guide shows both IT professionals and novice developers how to master VBA in order to customize the entire Office suite for specific business needs. Office 2010 is the leading productivity suite, and the VBA language enables customizations of all the Office programs; this complete guide gives both novice and experienced programmers the knowledge they need to make maximum use of VBA for Office Supported with real-world examples in Word, Excel, PowerPoint, Outlook, and Access, this book offers clear, systematic tutorials with both intermediate and advanced content Covers learning how to work with VBA; recording macros; using loops and functions; using message boxes, input boxes, and dialog boxes; creating effective code; XML-based files; ActiveX; the developer tab; content controls; add-ins; embedded macros; and security Mastering VBA for Office 2010 prepares developers to customize all Microsoft Office 2010 applications for the unique needs of their employers.

Richard Mansfield is the author or coauthor of more than 40 computer books, includingVisual Basic .NET Power Toolkit, Office 2003 Application Development All-in-One Desk Reference For Dummies, and Programming: A Beginner's Guide. He is the former editor of Compute! magazine. Overall, his books have sold more than half a million copies worldwide and have been translated into 12 languages.

Introduction xxvii

Part 1 * Recording Macros and Getting Started with VBA1

Chapter 1 * Recording and Running Macros in the OfficeApplications 3

Chapter 2 * Getting Started with the Visual Basic Editor29

Chapter 3 * Editing Recorded Macros 63

Chapter 4 * Creating Code from Scratch in the Visual BasicEditor 85

Part 2 * Learning How to Work with VBA 105

Chapter 5 * Understanding the Essentials of VBA Syntax107

Chapter 6 * Working with Variables, Constants, andEnumerations 123

Chapter 7 * Using Array Variables 145

Chapter 8 * Finding the Objects, Methods, and PropertiesYou Need 167

Part 3 * Making Decisions and Using Loops and Functions191

Chapter 9 * Using Built-in Functions 193

Chapter 10 * Creating Your Own Functions 227

Chapter 11 * Making Decisions in Your Code 245

Chapter 12 * Using Loops to Repeat Actions 265

Part 4 * Using Message Boxes, Input Boxes, and DialogBoxes 293

Chapter 13 * Getting User Input with Message Boxes andInput Boxes 295

Chapter 14 * Creating Simple Custom Dialog Boxes 315

Chapter 15 * Creating Complex Dialog Boxes 381

Part 5 * Creating Effective Code 429

Chapter 16: Building Modular Code and Using Classes 431

Chapter 17: Debugging Your Code and Handling Errors 457

Chapter 18: Building Well-Behaved Code 487

Chapter 19: Securing Your Code with VBA's SecurityFeatures 501

Part 6 * Programming the Office Applications525

Chapter 20 * Understanding the Word Object Model and KeyObjects 527

Chapter 21 * Working with Widely Used Objects in Word559

Chapter 22 * Understanding the Excel Object Model and KeyObjects 591

Chapter 23 * Working with Widely Used Objects in Excel617

Chapter 24 * Understanding the PowerPoint Object Model andKey Objects 631

Chapter 25 * Working with Shapes and Running Slide Shows653

Chapter 26 * Understanding the Outlook Object Model andKey Objects 673

Chapter 27 * Working with Events in Outlook 693

Chapter 28 * Understanding the Access Object Model and KeyObjects 713

Chapter 29 * Manipulating the Data in an Access Databasevia VBA 735

Chapter 30 * Accessing One Application from AnotherApplication 755

Chapter 31 * Programming the Office 2010 Ribbon 783

Appendix * The Bottom Line 811

Index 855

Erscheint lt. Verlag 9.9.2010
Sprache englisch
Themenwelt Mathematik / Informatik Informatik Programmiersprachen / -werkzeuge
Schlagworte Computer Science • Informatik • Office 2010 • Programmierung u. Software-Entwicklung • Programming & Software Development
ISBN-10 0-470-92263-X / 047092263X
ISBN-13 978-0-470-92263-7 / 9780470922637
Haben Sie eine Frage zum Produkt?
PDFPDF (Adobe DRM)
Größe: 17,7 MB

Kopierschutz: Adobe-DRM
Adobe-DRM ist ein Kopierschutz, der das eBook vor Mißbrauch schützen soll. Dabei wird das eBook bereits beim Download auf Ihre persönliche Adobe-ID autorisiert. Lesen können Sie das eBook dann nur auf den Geräten, welche ebenfalls auf Ihre Adobe-ID registriert sind.
Details zum Adobe-DRM

Dateiformat: PDF (Portable Document Format)
Mit einem festen Seiten­layout eignet sich die PDF besonders für Fach­bücher mit Spalten, Tabellen und Abbild­ungen. Eine PDF kann auf fast allen Geräten ange­zeigt werden, ist aber für kleine Displays (Smart­phone, eReader) nur einge­schränkt geeignet.

Systemvoraussetzungen:
PC/Mac: Mit einem PC oder Mac können Sie dieses eBook lesen. Sie benötigen eine Adobe-ID und die Software Adobe Digital Editions (kostenlos). Von der Benutzung der OverDrive Media Console raten wir Ihnen ab. Erfahrungsgemäß treten hier gehäuft Probleme mit dem Adobe DRM auf.
eReader: Dieses eBook kann mit (fast) allen eBook-Readern gelesen werden. Mit dem amazon-Kindle ist es aber nicht kompatibel.
Smartphone/Tablet: Egal ob Apple oder Android, dieses eBook können Sie lesen. Sie benötigen eine Adobe-ID sowie eine kostenlose App.
Geräteliste und zusätzliche Hinweise

Buying eBooks from abroad
For tax law reasons we can sell eBooks just within Germany and Switzerland. Regrettably we cannot fulfill eBook-orders from other countries.

Mehr entdecken
aus dem Bereich
Entwicklung von GUIs für verschiedene Betriebssysteme

von Achim Lingott

eBook Download (2023)
Carl Hanser Verlag GmbH & Co. KG
39,99
Das umfassende Handbuch

von Johannes Ernesti; Peter Kaiser

eBook Download (2023)
Rheinwerk Computing (Verlag)
44,90
Mit über 150 Workouts in Java und Python

von Luigi Lo Iacono; Stephan Wiefling; Michael Schneider

eBook Download (2023)
Carl Hanser Verlag GmbH & Co. KG
29,99