VBA for the 2007 Microsoft Office System (Paperback)
暫譯: 2007年Microsoft Office系統的VBA

Paul McFedries

  • 出版商: QUE
  • 出版日期: 2007-04-01
  • 售價: $1,870
  • 貴賓價: 9.5$1,777
  • 語言: 英文
  • 頁數: 432
  • 裝訂: Paperback
  • ISBN: 0789736675
  • ISBN-13: 9780789736673
  • 相關分類: Excel
  • 已過版

買這商品的人也買了...

相關主題

商品描述

Description

“VBA for the 2007 Microsoft Office System is jam-packed with code samples that you’ll be able to reuse right away in your VBA projects.”

—Guy Barrette, Microsoft MVP & Regional Director, .NET Expertise

 

Develop your VBA expertise instantly with proven techniques

VBA for the 2007 Microsoft® Office System shows you how to take full advantage of the 2007 Microsoft Office suite by automating routine Office tasks. No matter which Office application you’re using, there are some tasks you perform dozens of times, such as typing a section of text, running a series of menu commands, or formatting a document in a particular way.This book shows you how to accomplish the same tasks by incorporating them into a macro that you can run with just a few mouse clicks or keystrokes. This book shows you the basics of VBA programming from the ground up. Even if you’ve never programmed before, VBA for the 2007 Microsoft® Office System will have you up to speed with VBA in no time.You’ll learn how to write programs that control Word, Excel, PowerPoint, Access databases, and even Outlook email.You get dozens of example macros that not only illustrate the concepts in the book but also provide you with practical, business-oriented tools that you can use right away to improve your productivity.

 

  • Practical, real-world examples for anyone who uses Office applications—not just power users.
  • Automate or streamline all your repetitive Word, Excel, and PowerPoint chores.
  • Create custom dialog boxes and custom Ribbon tabs, groups, and buttons to make Office look and work the way you want it to—no program experience required!
  • Easy-to-understand instructions that make learning VBA fast and fun.
  • All code examples and documents are available online so you can get started with VBA with a minimum of fuss.

 

  • Automate Routine Tasks
  • Control Word, Excel,
  • and PowerPoint
  • Program Access Databases
  • Automate Document Backups
  • Create Advanced Email Rules
  • Build Custom Dialog Boxes
  • Customize the Office 2007
  • Ribbon
  • Access the Registry
  • Troubleshoot Macro Problems
  • Control Macro Security.

Table of Contents

I Getting Started with VBA

1 Creating and Running Recorded Macros 

2 Writing Your Own Macros 

3 Understanding Program Variables 

4 Building VBA Expressions 

5 Working with Objects 

6 Controlling Your VBA Code 

II Putting VBA to Work

7 Programming Word 

8 Programming Excel 

9 Programming PowerPoint 

10 Programming Access Databases 

11 Programming Outlook Email 

III Getting the Most Out of VBA

12 Creating Custom VBA Dialog Boxes 

13 Customizing the Office 2007 Ribbon 

14 VBA Tips and Techniques 

15 Trapping Program Errors 

16 Debugging VBA Procedures 

IV Appendixes

A VBA Statements 

B VBA Functions 

Index  

商品描述(中文翻譯)

**描述**

“VBA for the 2007 Microsoft Office System 充滿了您可以立即在 VBA 專案中重用的程式碼範例。”
—Guy Barrette, Microsoft MVP & 區域總監,.NET 專家

**立即提升您的 VBA 專業知識,使用經驗證的技術**

《VBA for the 2007 Microsoft® Office System》教您如何充分利用 2007 Microsoft Office 套件,通過自動化日常 Office 任務來提高效率。無論您使用的是哪個 Office 應用程式,總有一些任務您會重複執行,例如輸入一段文字、執行一系列菜單命令或以特定方式格式化文件。本書將教您如何通過將這些任務整合到宏中來完成相同的工作,您只需幾次滑鼠點擊或鍵入即可運行這些宏。本書從基礎開始介紹 VBA 程式設計。即使您從未編程過,《VBA for the 2007 Microsoft® Office System》也能讓您迅速掌握 VBA。您將學會如何編寫控制 Word、Excel、PowerPoint、Access 資料庫甚至 Outlook 郵件的程式。您將獲得數十個範例宏,這些宏不僅說明了書中的概念,還為您提供了實用的商業工具,讓您能立即使用以提高生產力。

- 實用的現實範例,適合任何使用 Office 應用程式的人,而不僅僅是高級用戶。
- 自動化或簡化您所有重複的 Word、Excel 和 PowerPoint 任務。
- 創建自定義對話框和自定義功能區標籤、組和按鈕,讓 Office 按照您的需求運作—無需程式經驗!
- 易於理解的指導,使學習 VBA 變得快速而有趣。
- 所有程式碼範例和文件均可在線獲取,讓您能以最小的麻煩開始使用 VBA。

- 自動化常規任務
- 控制 Word、Excel
- 和 PowerPoint
- 編程 Access 資料庫
- 自動化文件備份
- 創建高級郵件規則
- 構建自定義對話框
- 自定義 Office 2007 功能區
- 訪問註冊表
- 排除宏問題
- 控制宏安全性。

**目錄**

I 開始使用 VBA
1 創建和運行錄製的宏
2 編寫您自己的宏
3 理解程式變數
4 建立 VBA 表達式
5 使用物件
6 控制您的 VBA 程式碼

II 將 VBA 應用於工作
7 編程 Word
8 編程 Excel
9 編程 PowerPoint
10 編程 Access 資料庫
11 編程 Outlook 郵件

III 充分利用 VBA
12 創建自定義 VBA 對話框
13 自定義 Office 2007 功能區
14 VBA 提示和技巧
15 捕獲程式錯誤
16 調試 VBA 程序

IV 附錄
A VBA 語句
B VBA 函數
索引