Dissect and Learn Excel® VBA in 24 Hours: Working with sheets, workbooks, and files

CreateSpace Independent Publishing Platform
SKU:
9781726453998
|
ISBN13:
9781726453998
$13.21
(No reviews yet)
Condition:
New
Usually Ships in 24hrs
Current Stock:
Estimated Delivery by: | Fastest delivery by:
Adding to cart… The item has been added
Buy ebook
No matter how complicated a program is, it is made of many smaller and tiny fundamental working parts of programming code. Each of them accomplishes a specific task. Some may just consist of only one or a few lines of code. Knowing the functions of these fundamental working parts, you can then easily write an unlimited number of working programs. And knowing them, you can easily understand the programs written by others and adopt into your programs the ideas and the efficient code that are presented in those programs. Dissect and Learn Excel VBA in 24 Hours is a series of quick references for intermediate users who are looking for ideas and samples of VBA code to accomplish certain tasks when they are in the process of writing a program. In this series, you will see thousands of tiny working parts of VBA code that are used to accomplish many simple and yet meaningful tasks. To add a new workbook, to auto-fill a range, to sort a table of data, to generate a table of contents for all chart sheets and worksheets in a workbook, to loop through and manipulate a folder of Excel files, to place a control on the Ribbon, to send an email, and to login to an account in the Internet are some examples of these tiny working parts. This series is for readers, who have at least a basic understanding of Excel VBA programming. In order to follow the discussions in the series, a reader must know what Sub and Function procedures are, what Visual Basic Editor (VBE) is, how to add a VBA module to a workbook, how to set a reference to an application's type library, how to enable the Auto List Members feature in VBE, how to use the Macro Recorder in Excel in order to find out the methods and properties of objects that you are not familiar with, how to use the Object Browser to check the complete list of members for a particular object, how to write some simple procedures, in which VBA modules you should store your VBA code, and how to use the debugging tools in VBE. If you are new to Excel VBA, please teach yourself Excel VBA before exploring the contents in the series. You may refer to my earlier book entitled Learn Excel(R) VBA in 24 Hours - A quick reference for beginners, which was written for those who are new to Excel VBA. Book 3: Working with sheets, workbooks, and files focuses on commonly used operations on sheets, workbooks, and files. Copying a sheet, protecting a sheet, creating a table of contents for all sheets with hyperlinks, saving a copy of a workbook, self-deleting a workbook, protecting a workbook, accessing a password-forgotten VBA project, prompting users to select a folder, a file, and multiple files, writing and reading a text file, looping through a folder of files, and creating and deleting folders are some of the operations. To understand better a concept discussed in this book, simply copy and paste the sample VBA code into the Immediate window or a VBA module, and run the VBA code (or step through the VBA code by using the debugger in VBE). To execute a few lines of code that are not in a Sub procedure, simply enclose them in a new procedure in a standard VBA module. To test a Sub procedure with required arguments, simply call the procedure by passing the arguments in the Immediate window such as DeleteAllFilesUsingFSO "C: \\Temp," True. Alternatively, you can download the supplementary Excel file for the book. It contains almost all the VBA code stated in the book. The previous two books in the series discuss changing workbook appearance and working with worksheet ranges in Excel 2007-2016 for Windows. The forth, which will be the last book in the series focuses on working with controls and automation. It discusses, for example, adding controls to a worksheet and a UserForm, writing a Word document, sending an email via Outlook, logging in to an account on a web page, and working with various controls (such as list box, check box, button, and drop-down list) on a web page in Internet Explorer.


  • | Author: Liaw Hocksang
  • | Publisher: CreateSpace Independent Publishing Platform
  • | Publication Date: Sep 01, 2018
  • | Number of Pages: 152 pages
  • | Language: English
  • | Binding: Paperback
  • | ISBN-10: 1726453995
  • | ISBN-13: 9781726453998
Author:
Liaw Hocksang
Publisher:
CreateSpace Independent Publishing Platform
Publication Date:
Sep 01, 2018
Number of pages:
152 pages
Language:
English
Binding:
Paperback
ISBN-10:
1726453995
ISBN-13:
9781726453998