Excel Programming with VBA Starter
()
About this ebook
Robert Martin
Hi, readers, my name is Robert Martin, nickname “Donnie.” I grew up in Memphis, Tennessee. I’ve had a speech problem in my whole life. I am a stutterer. I left Memphis at the age of twenty and joined the U.S. Marines. After I got out of the marines, I moved to Atlanta, Georgia, and went to school for law enforcement. I left Atlanta and moved to Indianapolis, Indiana, to pursue a career in law enforcement. I worked in various prisons and juvenile systems. I’m a disabled veteran and attend the Church of Jesus in Indianapolis. I love to testify about the Lord Jesus Christ and the Holy Spirit, and the life-changing events that He has used to impact my life. In Jesus name, Amen!
Read more from Robert Martin
RibbonX: Customizing the Office 2007 Ribbon Rating: 0 out of 5 stars0 ratingsThe Face Looking Company: The Beginning Love Walk Around the World Rating: 0 out of 5 stars0 ratingsAmerican Zombie Deprogram Project Rating: 5 out of 5 stars5/5The Stuttering Supernatural Testifier Rating: 0 out of 5 stars0 ratingsReminiscing! Rating: 0 out of 5 stars0 ratingsHappy Holidays To Drunk Uncle Rating: 0 out of 5 stars0 ratingsFour Necklaces Rating: 0 out of 5 stars0 ratingsBeyond Far Rating: 0 out of 5 stars0 ratingsCoincidence Rating: 0 out of 5 stars0 ratings
Related to Excel Programming with VBA Starter
Related ebooks
Excel VBA: A Beginners' Guide Rating: 4 out of 5 stars4/5Secrets of MS Excel VBA Macros for Beginners !: Save Your Time With Visual Basic Macros! Rating: 4 out of 5 stars4/5VBA for Excel: Programming VBA Macros - The Easy Introduction for Beginners and Non-Programmers Rating: 3 out of 5 stars3/5Mastering Excel Macros: Introduction: Mastering Excel Macros, #1 Rating: 4 out of 5 stars4/5Excel VBA - Intermediate Lessons in Excel VBA Programming for Professional Advancement: 2 Rating: 0 out of 5 stars0 ratingsExcel VBA: A Step-By-Step Tutorial For Beginners To Learn Excel VBA Programming From Scratch: 1 Rating: 4 out of 5 stars4/5Excel 2003 Power Programming with VBA Rating: 5 out of 5 stars5/5Excel VBA Programming: Automating Excel through Visual Basic for Application Rating: 0 out of 5 stars0 ratingsInstant Creating Data Models with PowerPivot How-to Rating: 1 out of 5 stars1/5Excel 2019 Power Programming with VBA Rating: 5 out of 5 stars5/5From VBA to VSTO: Is Excel's New Engine Right for You? Rating: 0 out of 5 stars0 ratingsExcel :The Ultimate Comprehensive Step-by-Step Guide to Strategies in Excel Programming (Formulas, Shortcuts and Spreadsheets): 2 Rating: 0 out of 5 stars0 ratingsAutomating Access Databases with Macros Rating: 5 out of 5 stars5/540 Ready to Use Excel VBA and Macros Rating: 0 out of 5 stars0 ratingsExcel Custom Functions: Straight to the Point Rating: 0 out of 5 stars0 ratingsExcel 2007 VBA Programmer's Reference Rating: 5 out of 5 stars5/5Excel VBA Programming: Automating Excel through Visual Basic for Application Rating: 0 out of 5 stars0 ratingsExcel VBA Programming For Dummies Rating: 0 out of 5 stars0 ratingsExcel : The Complete Ultimate Comprehensive Step-By-Step Guide To Learn Excel Programming Rating: 0 out of 5 stars0 ratingsExcel Macros - A Step-by-Step Illustrated Guide to Learn Excel Macros Rating: 0 out of 5 stars0 ratingsExcel Macros For Dummies Rating: 0 out of 5 stars0 ratingsAdvance Excel 2016: Training guide Rating: 0 out of 5 stars0 ratingsThe Secret Life of Word: A Professional Writer's Guide to Microsoft Word Automation Rating: 0 out of 5 stars0 ratingsMastering VBA for Microsoft Office 365 Rating: 5 out of 5 stars5/5Supercharge Power BI: Power BI is Better When You Learn To Write DAX Rating: 5 out of 5 stars5/5Start-to-Finish Visual Basic 2015 Rating: 5 out of 5 stars5/5Mastering VBA for Microsoft Office 2016 Rating: 5 out of 5 stars5/5Secrets of Access Database Development and Programming Rating: 5 out of 5 stars5/5
Data Modeling & Design For You
Thinking in Algorithms: Strategic Thinking Skills, #2 Rating: 5 out of 5 stars5/5Data Visualization: a successful design process Rating: 4 out of 5 stars4/5The Secrets of ChatGPT Prompt Engineering for Non-Developers Rating: 5 out of 5 stars5/5Data Analytics for Beginners: Introduction to Data Analytics Rating: 4 out of 5 stars4/5Living in Data: A Citizen's Guide to a Better Information Future Rating: 4 out of 5 stars4/5The Systems Thinker - Mental Models: The Systems Thinker Series, #3 Rating: 0 out of 5 stars0 ratingsMastering Agile User Stories Rating: 4 out of 5 stars4/5Raspberry Pi :Raspberry Pi Guide On Python & Projects Programming In Easy Steps Rating: 3 out of 5 stars3/5Supercharge Power BI: Power BI is Better When You Learn To Write DAX Rating: 5 out of 5 stars5/5Learn T-SQL Querying: A guide to developing efficient and elegant T-SQL code Rating: 0 out of 5 stars0 ratingsDAX Patterns: Second Edition Rating: 5 out of 5 stars5/5Data Analytics with Python: Data Analytics in Python Using Pandas Rating: 3 out of 5 stars3/5150 Most Poweful Excel Shortcuts: Secrets of Saving Time with MS Excel Rating: 3 out of 5 stars3/5Think Like a Data Scientist: Tackle the data science process step-by-step Rating: 0 out of 5 stars0 ratingsLearning Cypher Rating: 0 out of 5 stars0 ratingsOracle Quick Guides: Part 2 - Oracle Database Design Rating: 0 out of 5 stars0 ratingsA Concise Guide to Object Orientated Programming Rating: 0 out of 5 stars0 ratingsLogic Design: A Review Of Theory And Practice Rating: 0 out of 5 stars0 ratingsWordPress For Beginners - How To Set Up A Self Hosted WordPress Blog Rating: 0 out of 5 stars0 ratingsTableau Cookbook – Recipes for Data Visualization Rating: 0 out of 5 stars0 ratingsBayesian Analysis with Python Rating: 5 out of 5 stars5/5Spreadsheets To Cubes (Advanced Data Analytics for Small Medium Business): Data Science Rating: 0 out of 5 stars0 ratingsGraph Databases in Action: Examples in Gremlin Rating: 0 out of 5 stars0 ratingsBrainstorming and Beyond: A User-Centered Design Method Rating: 0 out of 5 stars0 ratings
Reviews for Excel Programming with VBA Starter
0 ratings0 reviews
Book preview
Excel Programming with VBA Starter - Robert Martin
Table of Contents
Excel Programming with VBA Starter
Credits
www.PacktPub.com
Support files, eBooks, discount offers and more
www.PacktLib.PacktPub.com
Why Subscribe?
Free Access for Packt account holders
Excel Programming with VBA Starter
So, what is VBA?
The basic features of VBA
What kind of things can you do with it?
How can you use this technology within your existing projects?
Recording a macro, adding modules, browsing objects, and variables
Recording a macro
Option 1 – Recording a macro from the status bar
Option 2 – Recording from the Developer tab
Executing your code
Saving a workbook containing macros
Adding a module
Browsing objects
Working with variables
The Immediate window
And that's it
Quick start – VBA programming
Working with loops
Method 1 – For-Next loops
Method 2 – For Each-Next Loops
Method 3 – Do-While and Do-Until loops
Dimensioning and instantiating objects
Subroutines and user-defined functions
Subroutines
Functions
Top features you'll want to know about
Enumeration
Classes
External libraries
People and places you should get to know
Official sites
Resources
Articles and tutorials
Community
Blogs
About the author
About the reviewers
Index
Excel Programming with VBA Starter
Excel Programming with VBA Starter
Copyright © 2012 Packt Publishing
All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews.
Every effort has been made in the preparation of this book to ensure the accuracy of the information presented. However, the information contained in this book is sold without warranty, either express or implied. Neither the author, nor Packt Publishing, and its dealers and distributors will be held liable for any damages caused or alleged to be caused directly or indirectly by this book.
Packt Publishing has endeavored to provide trademark information about all of the companies and products mentioned in this book by the appropriate use of capitals. However, Packt Publishing cannot guarantee the accuracy of this information.
First published: October 2012
Production Reference: 1171012
Published by Packt Publishing Ltd.
Livery Place
35 Livery Street
Birmingham B3 2PB, UK.
ISBN 978-1-84968-844-4
www.packtpub.com
Credits
Author
Robert Martin
Reviewers
Jan Karel Pieterse
Peter M Taylor
Acquisition Editor
Alex Newbury
Commissioning Editor
Meeta Rajani
Technical Editor
Vrinda Amberkar
Project Coordinator
Shraddha Bagadia
Proofreader
Aaron Nash
Indexer
Hemangini Bari
Production Coordinator
Prachali Bhiwandkar
Cover Work
Prachali Bhiwandkar
Cover Image
Conidon Miranda
www.PacktPub.com
Support files, eBooks, discount offers and more
You might want to visit www.PacktPub.com for support files and downloads related to your book.
Did you know that Packt offers eBook versions of every book published, with PDF and ePub files available? You can upgrade to the eBook version at www.PacktPub.com and as a print book customer, you are entitled to a discount on the eBook copy. Get in touch with us at
At www.PacktPub.com, you can also read a collection of free technical articles, sign up for a range of free newsletters and receive exclusive discounts and offers on Packt books and eBooks.
www.PacktLib.PacktPub.com
Do you need instant solutions to your IT questions? PacktLib is Packt's online digital book library. Here, you can access, read and search across Packt's entire library of books.
Why Subscribe?
Fully searchable across every book published by Packt
Copy and paste, print and bookmark content
On demand and accessible via web browser
Free Access for Packt account holders
If you have an account with Packt at www.PacktPub.com, you can use this to access PacktLib today and view nine entirely free books. Simply use your login credentials for immediate access.
Excel Programming with VBA Starter
Welcome to Excel VBA Starter. This book has been especially created to provide you with all the information that you need to get up to speed with programming with VBA (Visual Basic for Applications). You will learn the basics of VBA, get started with building your first VBA code, create user-defined functions to work out complex calculations, and see the tricks