Excel VBA 2013: For Non-Programmers

Maayan Poleg

  • 出版商: CreateSpace Independ
  • 出版日期: 2016-05-01
  • 售價: $1,000
  • 貴賓價: 9.5$950
  • 語言: 英文
  • 頁數: 154
  • 裝訂: Paperback
  • ISBN: 1533058598
  • ISBN-13: 9781533058591
  • 相關分類: Excel
  • 海外代購書籍(需單獨結帳)

相關主題

商品描述

Microsoft Excel has, over the years, become the greatest software in the field of electronic worksheets. Its strength is that it meets the demands of huge numbers of users worldwide. Nonetheless - despite the advancement and expanding use of this software - there is ever-increasing demand from the end users; much of which can only be solved by VBA programming (Visual Basic for Applications). Therefore, “Excel VBA – In Everyday Language” was written in order to provide a response to the growing demand for the advanced capabilities of Microsoft Excel. This book was written: • For the “non-programmers” among us who have to create the same reports in Microsoft Excel time and again, and would like to automate the process. • For people who wish to develop forms, screens and “machines” for data management within their organization. • For individuals who wish to turn Microsoft Excel into a powerful tool in their daily work. During the writing process I tried to visualize Microsoft Excel software and the VB editor through the eyes of the end users; people who may not have programming background, but aspire to reap the utmost from the program. For this reason the book, based on many years' of experience in programming and training, has been written in everyday language, using as few technical terms as possible, to make for easy reading. My goal, when writing this book, was to convey the main principles of VBA language and allow beginners, taking their first steps, to learn without requiring individual training. For this purpose there are files of exercises accompanying the book. These may be downloaded from this link. The exercise files are in .xls format, allowing the end users to use either the “Ribbon Versions” (2007 and higher) or other older versions of Microsoft Excel. This new edition has undergone extensive processing and addresses Microsoft Excel 2010/2013 users, along with explanations for anyone using the older versions (2003 and 2007). Therefore, wherever there is a significant difference between Excel 2010/2013 and the old versions, explanations are provided in full. While reading the book and using the practice files, you will know to: • Add the Developer Tap • Change Excel's security, Including trusted locations • Enter the VBE (Visual Basic Editor) • Change the VBE structure • Record an absolute macro • Record a relative macro • Improve your recorded macro • Apply to ranges (Cells, ranges, columns, rows, sheets, offset) • Manage files and folders • Use Variables • Use the 'With' command • Manipulate strings • Calculate Date and Time • Interact with the user (Msgbox and Inputbox) • Use conditions (IF) • Loop through data (Do loops, For loops) • Create your own functions (UDF) • Create an Event macro • Handle Errors You will also learn some cool tips and tricks, and get some useful codes

商品描述(中文翻譯)

Microsoft Excel 多年來已成為電子工作表領域中最強大的軟體。它的優勢在於能夠滿足全球大量用戶的需求。然而,儘管這款軟體不斷進步並擴大使用範圍,最終用戶的需求卻日益增加;其中許多需求只能通過 VBA 程式設計(Visual Basic for Applications)來解決。因此,《Excel VBA – 用日常語言》這本書的撰寫旨在回應對 Microsoft Excel 進階功能日益增長的需求。這本書的寫作對象包括:

• 對於我們這些“非程式設計師”,他們需要在 Microsoft Excel 中一次又一次地創建相同的報告,並希望自動化這一過程。
• 對於希望在其組織內開發表單、螢幕和“機器”以進行數據管理的人士。
• 對於希望將 Microsoft Excel 轉變為日常工作中強大工具的個人。

在寫作過程中,我試圖從最終用戶的角度來想像 Microsoft Excel 軟體和 VB 編輯器;這些人可能沒有程式設計背景,但渴望從該程式中獲得最大的收益。基於多年程式設計和培訓的經驗,這本書以日常語言撰寫,盡量減少技術術語,以便於閱讀。撰寫這本書的目標是傳達 VBA 語言的主要原則,並讓初學者在不需要個別訓練的情況下學習。為此,書中附有練習檔案,這些檔案可以從此鏈接下載。練習檔案為 .xls 格式,允許最終用戶使用“功能區版本”(2007 及以上)或其他舊版本的 Microsoft Excel。這一新版經過廣泛處理,針對 Microsoft Excel 2010/2013 用戶,同時也提供對於使用舊版本(2003 和 2007)的解釋。因此,無論在 Excel 2010/2013 和舊版本之間有何顯著差異,均會提供詳細解釋。

在閱讀本書並使用練習檔案的過程中,您將學會:

• 添加開發者選項卡
• 更改 Excel 的安全性,包括受信任的位置
• 進入 VBE(Visual Basic 編輯器)
• 更改 VBE 結構
• 錄製絕對宏
• 錄製相對宏
• 改進錄製的宏
• 應用於範圍(單元格、範圍、列、行、工作表、偏移)
• 管理檔案和資料夾
• 使用變數
• 使用 'With' 命令
• 操作字串
• 計算日期和時間
• 與用戶互動(Msgbox 和 Inputbox)
• 使用條件(IF)
• 循環遍歷數據(Do 循環、For 循環)
• 創建自己的函數(UDF)
• 創建事件宏
• 處理錯誤

您還將學到一些酷炫的技巧和竅門,並獲得一些有用的代碼。