VB & VBA in a Nutshell: The Language (Paperback)

Paul Lomax

  • 出版商: O'Reilly
  • 出版日期: 1998-11-10
  • 售價: $1,560
  • 貴賓價: 9.5$1,482
  • 語言: 英文
  • 頁數: 652
  • 裝訂: Paperback
  • ISBN: 1565923588
  • ISBN-13: 9781565923584
  • 相關分類: Excel
  • 已絕版

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

相關主題

商品描述

The online documentation of VB/VBA language components seems to follow the 80/20 rule: the basic facts that you need to use a language statement are provided in the documentation. But the additional 20 percent that you need to use it effectively or to apply it to special cases is conspicuously absent. To a professional VB/VBA programmer, though, this missing 20 percent of the language's documentation isn't a luxury, it's a necessity. And inVB & VBA in a Nutshell: The Language, it finally is available.The bulk of the book consists of an alphabetical reference to the statements, procedures, and functions of the VB/VBA language. Each entry has a standardized listing containing the following information:

  • Its syntax, using standard code conventions
  • Differences in the operation of the keyword in a macro environment (e.g., in Office) and in Visual Basic, if there are any
  • A list of arguments accepted by the function or procedure, if any
  • A description of the data type returned by a function
  • The finer points of a keyword's usage that are often omitted from or blurred over by the documentation
  • Tips and gotchas that include undocumented behaviors and practical applications for particular language elements -- a section particularly invaluable for diagnosing or avoiding potential programming problems
  • A brief, nonobvious example that illustrates the use of the keyword
Also included in VB & VBA in a Nutshell: The Language is a brief overview of the VB/VBA language, including:
  • Basic VBA programming concepts, such as its data types and its support for variables, constants, and arrays
  • Error handling in VBA applications
  • Object programming with VBA
  • Using VBA with particular applications. Excel and Project are utilized to show how to work with an application's integrated development environment and to take advantage of its object model Regardless of how much experience you have programming with VBA, this is the book you'll pick up time and time again both as your standard reference guide and as a tool for troubleshooting and identifying programming problems.
VB & VBA in a Nutshell: The Language is the definitive reference for Visual Basic and VBA developers.

商品描述(中文翻譯)

VB/VBA 語言組件的線上文檔似乎遵循 80/20 原則:文檔中提供了使用語言語句所需的基本事實。然而,為了有效使用或應用於特殊情況所需的額外 20% 卻明顯缺失。對於專業的 VB/VBA 程式設計師來說,這缺失的 20% 語言文檔並不是奢侈,而是必需的。而在《VB & VBA in a Nutshell: The Language》中,這部分終於可用。

本書的主要內容是對 VB/VBA 語言的語句、程序和函數的字母順序參考。每個條目都有一個標準化的列表,包含以下資訊:
- 語法,使用標準代碼約定
- 關鍵字在宏環境(例如 Office)和 Visual Basic 中的操作差異(如果有的話)
- 函數或程序接受的參數列表(如果有的話)
- 函數返回的數據類型的描述
- 關鍵字使用的細節,這些細節通常在文檔中被省略或模糊處理
- 包含未記錄行為和特定語言元素的實用應用的提示和注意事項——這一部分對於診斷或避免潛在的程式設計問題特別寶貴
- 一個簡短且不明顯的示例,說明關鍵字的使用

《VB & VBA in a Nutshell: The Language》中還包括了 VB/VBA 語言的簡要概述,包括:
- 基本的 VBA 程式設計概念,例如數據類型及其對變數、常數和數組的支持
- VBA 應用中的錯誤處理
- 使用 VBA 進行物件程式設計
- 使用 VBA 與特定應用程式。Excel 和 Project 被用來展示如何與應用程式的集成開發環境合作,並利用其物件模型

無論您在 VBA 程式設計方面有多少經驗,這本書將成為您反覆查閱的標準參考指南,以及用於故障排除和識別程式設計問題的工具。《VB & VBA in a Nutshell: The Language》是 Visual Basic 和 VBA 開發人員的權威參考書。