Introduction... 1 Part I: Getting Started with Excel VBA Programming Part II: How VBA Works with Excel... 31

Size: px
Start display at page:

Download "Introduction... 1 Part I: Getting Started with Excel VBA Programming Part II: How VBA Works with Excel... 31"

Transcription

1 Contents at a Glance Introduction... 1 Part I: Getting Started with Excel VBA Programming... 9 Chapter 1: What Is VBA?...11 Chapter 2: Jumping Right In...21 Part II: How VBA Works with Excel Chapter 3: Working in the Visual Basic Editor...33 Chapter 4: Introducing the Excel Object Model...53 Chapter 5: VBA Sub and Function Procedures...67 Chapter 6: Using the Excel Macro Recorder...79 Part III: Programming Concepts Chapter 7: Essential VBA Language Elements...93 Chapter 8: Working with Range Objects Chapter 9: Using VBA and Worksheet Functions Chapter 10: Controlling Program Flow and Making Decisions Chapter 11: Automatic Procedures and Events Chapter 12: Error-Handling Techniques Chapter 13: Bug Extermination Techniques Chapter 14: VBA Programming Examples Part IV: Communicating with Your Users Chapter 15: Simple Dialog Boxes Chapter 16: UserForm Basics Chapter 17: Using UserForm Controls Chapter 18: UserForm Techniques and Tricks Chapter 19: Accessing Your Macros through the User Interface COPYRIGHTED MATERIAL Part V: Putting It All Together Chapter 20: Creating Worksheet Functions and Living to Tell about It Chapter 21: Creating Excel Add-Ins...347

2 Part VI: The Part of Tens Chapter 22: Ten VBA Questions (and Answers) Chapter 23: (Almost) Ten Excel Resources Chapter 24: Ten VBA Do s and Don ts Index

3 Table of Contents Introduction... 1 Is This the Right Book?...1 So You Want to Be a Programmer Why Bother?...2 What I Assume about You...3 Obligatory Typographical Conventions Section...4 Check Your Security Settings...5 How This Book Is Organized...6 Part I: Getting Started with Excel VBA Programming...6 Part II: How VBA Works with Excel...6 Part III: Programming Concepts...6 Part IV: Communicating with Your Users...7 Part V: Putting It All Together...7 Part VI: The Part of Tens...7 Icons Used in This Book...7 Getting the Sample Files...8 Now What?...8 Part I: Getting Started with Excel VBA Programming... 9 Chapter 1: What Is VBA? Okay, So What Is VBA?...11 What Can You Do with VBA?...12 Inserting a bunch of text...13 Automating a task you perform frequently...13 Automating repetitive operations...13 Creating a custom command...13 Creating a custom button...13 Developing new worksheet functions...14 Creating custom add-ins for Excel...14 Creating complete, macro-driven applications...14 Advantages and Disadvantages of VBA...14 VBA advantages...14 VBA disadvantages...15 VBA in a Nutshell...15 An Excursion into Versions...18

4 viii Excel VBA Programming For Dummies, 3rd Edition Chapter 2: Jumping Right In First Things First...21 What You ll Be Doing...22 Taking the First Steps...22 Recording the Macro...23 Testing the Macro...24 Examining the Macro...25 Modifying the Macro...27 Saving Workbooks That Contain Macros...27 Understanding Macro Security...28 More about the NameAndTime Macro...30 Part II: How VBA Works with Excel Chapter 3: Working in the Visual Basic Editor What Is the Visual Basic Editor?...33 Activating the VBE...33 Understanding VBE components...34 Working with the Project Window...36 Adding a new VBA module...37 Removing a VBA module...38 Exporting and importing objects...38 Working with a Code Window...39 Minimizing and maximizing windows...39 Creating a module...40 Getting VBA code into a module...41 Entering code directly...41 Using the macro recorder...44 Copying VBA code...46 Customizing the VBA Environment...47 Using the Editor tab...47 Using the Editor Format tab...50 Using the General tab...51 Using the Docking tab...52 Chapter 4: Introducing the Excel Object Model Excel Is an Object?...54 Climbing the Object Hierarchy...54 Wrapping Your Mind around Collections...55 Referring to Objects...56 Navigating through the hierarchy...57 Simplifying object references...57 Diving into Object Properties and Methods...58 Object properties...60 Object methods...61 Object events...62

5 Table of Contents ix Finding Out More...63 Using VBA s Help system...63 Using the Object Browser...64 Automatically listing properties and methods...65 Chapter 5: VBA Sub and Function Procedures Subs versus Functions...67 Looking at Sub procedures...68 Looking at Function procedures...68 Naming Subs and Functions...69 Executing Sub procedures...69 Executing the Sub procedure directly...71 Executing the procedure from the Macro dialog box...72 Executing a macro by using a shortcut key...72 Executing the procedure from a button or shape...74 Executing the procedure from another procedure...75 Executing Function procedures...76 Calling the function from a Sub procedure...76 Calling a function from a worksheet formula...77 Chapter 6: Using the Excel Macro Recorder Is It Live, or Is It VBA?...79 Recording Basics...80 Preparing to Record...82 Relative or Absolute?...82 Recording in absolute mode...82 Recording in relative mode...83 What Gets Recorded?...85 Recording Options...86 Macro name...87 Shortcut key...87 Store Macro In...87 Description...87 Is This Thing Efficient?...88 Part III: Programming Concepts Chapter 7: Essential VBA Language Elements Using Comments in Your VBA Code...93 Using Variables, Constants, and Data Types...95 Understanding variables...95 What are VBA s data types?...96 Declaring and scoping variables...98 Working with constants Pre-made constants Working with strings Working with dates...107

6 x Excel VBA Programming For Dummies, 3rd Edition Using Assignment Statements Assignment statement examples About that equal sign Smooth operators Working with Arrays Declaring arrays Multidimensional arrays Dynamic arrays Using Labels Chapter 8: Working with Range Objects A Quick Review Other Ways to Refer to a Range The Cells property The Offset property Some Useful Range Object Properties The Value property The Text property The Count property The Column and Row properties The Address property The HasFormula property The Font property The Interior property The Formula property The NumberFormat property Some Useful Range Object Methods The Select method The Copy and Paste methods The Clear method The Delete method Chapter 9: Using VBA and Worksheet Functions What Is a Function? Using Built-In VBA Functions VBA function examples VBA functions that do more than return a value Discovering VBA functions Using Worksheet Functions in VBA Worksheet function examples Entering worksheet functions More about using worksheet functions Using Custom Functions...140

7 Table of Contents xi Chapter 10: Controlling Program Flow and Making Decisions Going with the Flow, Dude The GoTo Statement Decisions, Decisions The If-Then structure The Select Case structure Knocking Your Code for a Loop For-Next loops Do-While loop Do-Until loop Using For Each-Next Loops With Collections Chapter 11: Automatic Procedures and Events Preparing for the Big Event Are events useful? Programming event-handler procedures Where Does the VBA Code Go? Writing an Event-Handler Procedure Introductory Examples The Open event for a workbook The BeforeClose event for a workbook The BeforeSave event for a workbook Examples of Activation Events Activate and deactivate events in a sheet Activate and deactivate events in a workbook Workbook activation events Other Worksheet-Related Events The BeforeDoubleClick event The BeforeRightClick event The Change event Events Not Associated with Objects The OnTime event Keypress events Chapter 12: Error-Handling Techniques Types of Errors An Erroneous Example The macro s not quite perfect The macro is still not perfect Is the macro perfect yet? Giving up on perfection Handling Errors Another Way Revisiting the EnterSquareRoot procedure About the On Error statement...189

8 xii Excel VBA Programming For Dummies, 3rd Edition Handling Errors: The Details Resuming after an error Error handling in a nutshell Knowing when to ignore errors Identifying specific errors An Intentional Error Chapter 13: Bug Extermination Techniques Species of Bugs Identifying Bugs Debugging Techniques Examining your code Using the MsgBox function Inserting Debug.Print statements Using the VBA debugger About the Debugger Setting breakpoints in your code Using the Watch window Using the Locals window Bug Reduction Tips Chapter 14: VBA Programming Examples Working with Ranges Copying a range Copying a variable-sized range Selecting to the end of a row or column Selecting a row or column Moving a range Looping through a range efficiently Looping through a range efficiently (Part II) Prompting for a cell value Determining the selection type Identifying a multiple selection Changing Excel Settings Changing Boolean settings Changing non-boolean settings Working with Charts AddChart versus AddChart Modifying the chart type Looping through the ChartObjects collection Modifying chart properties Applying chart formatting VBA Speed Tips Turning off screen updating Turning off automatic calculation Eliminating those pesky alert messages Simplifying object references Declaring variable types Using the With-End With structure...229

9 Table of Contents xiii Part IV: Communicating with Your Users Chapter 15: Simple Dialog Boxes UserForm Alternatives The MsgBox Function Displaying a simple message box Getting a response from a message box Customizing message boxes The InputBox Function InputBox syntax An InputBox example Another type of InputBox The GetOpenFilename Method The syntax for the GetOpenFilename method A GetOpenFilename example The GetSaveAsFilename Method Getting a Folder Name Displaying Excel s Built-in Dialog Boxes Chapter 16: UserForm Basics Knowing When to Use a UserForm Creating UserForms: An Overview Working with UserForms Inserting a new UserForm Adding controls to a UserForm Changing properties for a UserForm control Viewing the UserForm Code window Displaying a UserForm Using information from a UserForm A UserForm Example Creating the UserForm Adding the CommandButtons Adding the OptionButtons Adding event-handler procedures Creating a macro to display the dialog box Making the macro available Testing the macro Chapter 17: Using UserForm Controls Getting Started with Dialog Box Controls Adding controls Introducing control properties Dialog Box Controls: The Details CheckBox control ComboBox control CommandButton control Frame control Image control...271

10 xiv Excel VBA Programming For Dummies, 3rd Edition Label control ListBox control MultiPage control OptionButton control RefEdit control ScrollBar control SpinButton control TabStrip control TextBox control ToggleButton control Working with Dialog Box Controls Moving and resizing controls Aligning and spacing controls Accommodating keyboard users Testing a UserForm Dialog Box Aesthetics Chapter 18: UserForm Techniques and Tricks Using Dialog Boxes A UserForm Example Creating the dialog box Writing code to display the dialog box Making the macro available Trying out your dialog box Adding event-handler procedures Validating the data Now the dialog box works More UserForm Examples A ListBox example Selecting a range Using multiple sets of OptionButtons Using a SpinButton and a TextBox Using a UserForm as a progress indicator Creating a modeless tabbed dialog box Displaying a chart in a UserForm A Dialog Box Checklist Chapter 19: Accessing Your Macros through the User Interface Ribbon Customization Customizing the Ribbon manually Adding a macro to the Ribbon Customizing the Ribbon with XML Customizing Shortcut Menus Commanding the CommandBars collection Listing all shortcut menus Referring to CommandBars Referring to controls in a CommandBar Properties of CommandBar controls...317

11 Table of Contents xv VBA Shortcut Menu Examples Resetting all built-in, right-click menus Adding a new item to the Cell shortcut menu Disabling a shortcut menu Creating a Custom Toolbar Part V: Putting It All Together Chapter 20: Creating Worksheet Functions and Living to Tell about It Why Create Custom Functions? Understanding VBA Function Basics Writing Functions Working with Function Arguments Function Examples A function with no argument A function with one argument A function with two arguments A function with a range argument A function with an optional argument Wrapper Functions The NumberFormat function The ExtractElement function The SayIt function The IsLike function Functions That Return an Array Returning an array of month names Returning a sorted list Using the Insert Function Dialog Box Displaying the function s description Argument descriptions Chapter 21: Creating Excel Add-Ins Okay... So What s an Add-In? Why Create Add-Ins? Working with Add-Ins Add-In Basics An Add-In Example Setting up the workbook Testing the workbook Adding descriptive information Protecting the VBA code Creating the add-in Opening the add-in Distributing the add-in Modifying the add-in...356

12 xvi Excel VBA Programming For Dummies, 3rd Edition Part VI: The Part of Tens Chapter 22: Ten VBA Questions (and Answers) Chapter 23: (Almost) Ten Excel Resources The VBA Help System Microsoft Product Support Internet Websites Excel Blogs Google Bing Local User Groups My Other Books Chapter 24: Ten VBA Do s and Don ts Do Declare All Variables Don t Confuse Passwords with Security Do Clean Up Your Code Don t Put Everything in One Procedure Do Consider Other Software Don t Assume That Everyone Enables Macros Do Get in the Habit of Experimenting Don t Assume That Your Code Will Work with Other Excel Versions Do Keep Your Users in Mind Don t Forget About Backups Index

Delivering training since 1996

Delivering training since 1996 VBA (Visual Basic for Applications) is an Object Oriented Language. This programming language can be used to automate tasks by developing procedures and functions. It is useful for programmers and for

More information

Corporate essentials

Corporate essentials Microsoft Office Excel 2016, Corporate essentials A comprehensive package for corporates and government organisations Knowledge Capital London transforming perfomance through learning MS OFFICE EXCEL 2016

More information

Excel 2013 Power Programming with VBA

Excel 2013 Power Programming with VBA Excel 2013 Power Programming with VBA Excel 2013 Power Programming with VBA by John Walkenbach Excel 2013 Power Programming with VBA Published by John Wiley & Sons, Inc. 111 River Street Hoboken, NJ 07030-5774

More information

Excel 2016 Power Programming with VBA

Excel 2016 Power Programming with VBA Excel 2016 Power Programming with VBA Excel 2016 Power Programming with VBA Michael Alexander Dick Kusleika Excel 2016 Power Programming with VBA Published by John Wiley & Sons, Inc. 10475 Crosspoint

More information

Excel 2016 Power Programming with VBA

Excel 2016 Power Programming with VBA Excel 2016 Power Programming with VBA Excel 2016 Power Programming with VBA Michael Alexander Dick Kusleika Excel 2016 Power Programming with VBA Published by John Wiley & Sons, Inc. 10475 Crosspoint Boulevard

More information

Excel Programming with VBA (Macro Programming) 24 hours Getting Started

Excel Programming with VBA (Macro Programming) 24 hours Getting Started Excel Programming with VBA (Macro Programming) 24 hours Getting Started Introducing Visual Basic for Applications Displaying the Developer Tab in the Ribbon Recording a Macro Saving a Macro-Enabled Workbook

More information

BASIC EXCEL SYLLABUS Section 1: Getting Started Section 2: Working with Worksheet Section 3: Administration Section 4: Data Handling & Manipulation

BASIC EXCEL SYLLABUS Section 1: Getting Started Section 2: Working with Worksheet Section 3: Administration Section 4: Data Handling & Manipulation BASIC EXCEL SYLLABUS Section 1: Getting Started Unit 1.1 - Excel Introduction Unit 1.2 - The Excel Interface Unit 1.3 - Basic Navigation and Entering Data Unit 1.4 - Shortcut Keys Section 2: Working with

More information

Acknowledgments. Chapter 1: Primer in Excel VBA 1. Chapter 2: The Application Object 63

Acknowledgments. Chapter 1: Primer in Excel VBA 1. Chapter 2: The Application Object 63 Acknowledgments Introduction xxi xxiii Chapter 1: Primer in Excel VBA 1 Using the Macro Recorder 2 Recording Macros 2 Running Macros 6 The Visual Basic Editor 8 Other Ways to Run Macros 11 User-Defined

More information

Excel VBA Programming

Excel VBA Programming Making Everything Easier! 2nd Edition Microsoft Excel VBA Programming Learn to: Use the essential tools and operations for VBA Work with range objects and control program flow Handle errors and eliminate

More information

Excel 2013 Power Programming with VBA

Excel 2013 Power Programming with VBA Excel 2013 Power Programming with VBA Excel 2013 Power Programming with VBA by John Walkenbach Excel 2013 Power Programming with VBA Published by John Wiley & Sons, Inc. 111 River Street Hoboken, NJ 07030-5774

More information

Excel 2007 VBA Programming FOR. DUMmIES. by John Walkenbach. Revised by Jan Karel Pieterse

Excel 2007 VBA Programming FOR. DUMmIES. by John Walkenbach. Revised by Jan Karel Pieterse Excel 2007 VBA Programming FOR DUMmIES by John Walkenbach Revised by Jan Karel Pieterse Excel 2007 VBA Programming FOR DUMmIES by John Walkenbach Revised by Jan Karel Pieterse Excel 2007 VBA Programming

More information

Work more efficiently by learning how to automate recurring tasks and create user applications

Work more efficiently by learning how to automate recurring tasks and create user applications V B A ( M A C R O S ) Work more efficiently by learning how to automate recurring tasks and create user applications Prepared by: XL Your Mind Gneisenaustraße 27 40477, Düsseldorf Germany W H A T T O E

More information

MS Excel VBA Class Goals

MS Excel VBA Class Goals MS Excel VBA 2013 Class Overview: Microsoft excel VBA training course is for those responsible for very large and variable amounts of data, or teams, who want to learn how to program features and functions

More information

Microsoft Excel 2010 Level 1

Microsoft Excel 2010 Level 1 Microsoft Excel 2010 Level 1 One Day Course Course Description You have basic computer skills such as using a mouse, navigating through windows, and surfing the Internet. You have also used paper-based

More information

Acknowledgments Introduction. Chapter 1: Introduction to Access 2007 VBA 1. The Visual Basic Editor 18. Testing Phase 24

Acknowledgments Introduction. Chapter 1: Introduction to Access 2007 VBA 1. The Visual Basic Editor 18. Testing Phase 24 Acknowledgments Introduction Chapter 1: Introduction to Access 2007 VBA 1 What Is Access 2007 VBA? 1 What s New in Access 2007 VBA? 2 Access 2007 VBA Programming 101 3 Requirements-Gathering Phase 3 Design

More information

Contents. Excel 2013 Workbook... 1 Starting Excel The Startup Screen... 3 The Excel Screen... 4 Quick Access Toolbar...

Contents. Excel 2013 Workbook... 1 Starting Excel The Startup Screen... 3 The Excel Screen... 4 Quick Access Toolbar... Contents How to Use this Workbook... i BSBITU202A Create and use spreadsheets... ii BSBITU304A Produce spreadsheets... ix Files Used in this Workbook... xvi How to Download Exercise Files... xviii Office

More information

Excel 2016: Introduction to VBA

Excel 2016: Introduction to VBA Excel 2016: Introduction to VBA In the previous Excel courses, you used Excel to simplify business tasks, including the creation of spreadsheets, graphs, charts, and formulas that were difficult to create

More information

This chapter is intended to take you through the basic steps of using the Visual Basic

This chapter is intended to take you through the basic steps of using the Visual Basic CHAPTER 1 The Basics This chapter is intended to take you through the basic steps of using the Visual Basic Editor window and writing a simple piece of VBA code. It will show you how to use the Visual

More information

Excel 2010 Power Programming with VBA. by John Walkenbach

Excel 2010 Power Programming with VBA. by John Walkenbach Excel 2010 Power Programming with VBA by John Walkenbach Excel 2010 Power Programming with VBA Published by John Wiley & Sons, Inc. 111 River Street Hoboken, NJ 07030-5774 www.wiley.com Copyright 2010

More information

Explore commands on the ribbon Each ribbon tab has groups, and each group has a set of related commands.

Explore commands on the ribbon Each ribbon tab has groups, and each group has a set of related commands. Quick Start Guide Microsoft Excel 2013 looks different from previous versions, so we created this guide to help you minimize the learning curve. Add commands to the Quick Access Toolbar Keep favorite commands

More information

Table of Contents COPYRIGHTED MATERIAL. Introduction Book I: Excel Basics Chapter 1: The Excel 2013 User Experience...

Table of Contents COPYRIGHTED MATERIAL. Introduction Book I: Excel Basics Chapter 1: The Excel 2013 User Experience... Table of Contents Introduction... 1 About This Book...1 Foolish Assumptions...2 How This Book Is Organized...3 Book I: Excel Basics...3 Book II: Worksheet Design...3 Book III: Formulas and Functions...4

More information

DATA 301 Introduction to Data Analytics Microsoft Excel VBA. Dr. Ramon Lawrence University of British Columbia Okanagan

DATA 301 Introduction to Data Analytics Microsoft Excel VBA. Dr. Ramon Lawrence University of British Columbia Okanagan DATA 301 Introduction to Data Analytics Microsoft Excel VBA Dr. Ramon Lawrence University of British Columbia Okanagan ramon.lawrence@ubc.ca DATA 301: Data Analytics (2) Why Microsoft Excel Visual Basic

More information

Excel VBA. Microsoft Excel is an extremely powerful tool that you can use to manipulate, analyze, and present data.

Excel VBA. Microsoft Excel is an extremely powerful tool that you can use to manipulate, analyze, and present data. Excel VBA WHAT IS VBA AND WHY WE USE IT Microsoft Excel is an extremely powerful tool that you can use to manipulate, analyze, and present data. Sometimes though, despite the rich set of features in the

More information

Reference Services Division Presents. Excel Introductory Course

Reference Services Division Presents. Excel Introductory Course Reference Services Division Presents Excel 2007 Introductory Course OBJECTIVES: Navigate Comfortably in the Excel Environment Create a basic spreadsheet Learn how to format the cells and text Apply a simple

More information

Microsoft Excel 2016 Level 1

Microsoft Excel 2016 Level 1 Microsoft Excel 2016 Level 1 One Day Course Course Description You have basic computer skills such as using a mouse, navigating through windows, and surfing the Internet. You have also used paper-based

More information

COPYRIGHTED MATERIAL. Part I: Getting Started with Excel 1. Acknowledgments... xxxvii Introduction...xxxviii. Chapter 1: Introducing Excel...

COPYRIGHTED MATERIAL. Part I: Getting Started with Excel 1. Acknowledgments... xxxvii Introduction...xxxviii. Chapter 1: Introducing Excel... Acknowledgments....................................... xxxvii Introduction............................................xxxviii Part I: Getting Started with Excel 1 Chapter 1: Introducing Excel...................................3

More information

Microsoft Excel 2007

Microsoft Excel 2007 Microsoft Excel 2007 Objective To provide a review of the new features in the Microsoft Excel 2007 screen. Overview Introduction Office Button Quick Access Toolbar Tabs Scroll Bar Status Bar Clipboard

More information

Macros enable you to automate almost any task that you can undertake

Macros enable you to automate almost any task that you can undertake Chapter 1: Building and Running Macros In This Chapter Understanding how macros do what they do Recording macros for instant playback Using the relative option when recording macros Running the macros

More information

Customizing the Excel 2013 program window. Getting started with Excel 2013

Customizing the Excel 2013 program window. Getting started with Excel 2013 Customizing the Excel 2013 program window 1 2 Getting started with Excel 2013 Working with data and Excel tables Creating workbooks Modifying workbooks Modifying worksheets Merging and unmerging cells

More information

Macros enable you to automate almost any task that you can undertake

Macros enable you to automate almost any task that you can undertake Chapter 1: Building and Running Macros In This Chapter Understanding how macros do what they do Recording macros for instant playback Using the relative option when recording macros Running the macros

More information

Microsoft Excel is a spreadsheet tool capable of performing calculations, analyzing data and integrating information from different programs.

Microsoft Excel is a spreadsheet tool capable of performing calculations, analyzing data and integrating information from different programs. About the Tutorial Microsoft Excel is a commercial spreadsheet application, written and distributed by Microsoft for Microsoft Windows and Mac OS X. At the time of writing this tutorial the Microsoft excel

More information

The Microsoft Excel Course is divided into 4 levels

The Microsoft Excel Course is divided into 4 levels MS Excel is a very powerful tools used by most of the data analyst in the industry. In this course you will learn how to Master Excel and make it perform any kind of data analysis and Visualization. You

More information

Getting started 7. Writing macros 23

Getting started 7. Writing macros 23 Contents 1 2 3 Getting started 7 Introducing Excel VBA 8 Recording a macro 10 Viewing macro code 12 Testing a macro 14 Editing macro code 15 Referencing relatives 16 Saving macros 18 Trusting macros 20

More information

Getting started 7. Setting properties 23

Getting started 7. Setting properties 23 Contents 1 2 3 Getting started 7 Introduction 8 Installing Visual Basic 10 Exploring the IDE 12 Starting a new project 14 Adding a visual control 16 Adding functional code 18 Saving projects 20 Reopening

More information

Office 2016 Excel Basics 06 Video/Class Project #18 Excel Basics 6: Customize Quick Access Toolbar (QAT) and Show New Ribbon Tabs

Office 2016 Excel Basics 06 Video/Class Project #18 Excel Basics 6: Customize Quick Access Toolbar (QAT) and Show New Ribbon Tabs **These pdf Notes are for video 6-8. Scroll down to see notes for all three videos. Office 2016 Excel Basics 06 Video/Class Project #18 Excel Basics 6: Customize Quick Access Toolbar (QAT) and Show New

More information

Advance Excel Performing calculations on data 1. Naming groups of data 2. Creating formulas to calculate values

Advance Excel Performing calculations on data 1. Naming groups of data 2. Creating formulas to calculate values Advance Excel 2013 Getting started with Excel 2013 1. Identifying the different Excel 2013 programs 2. Identifying new features of Excel 2013 a. If you are upgrading from Excel 2010 b. If you are upgrading

More information

Ms Excel Dashboards & VBA

Ms Excel Dashboards & VBA Ms Excel Dashboards & VBA 32 hours, 4 sessions, 8 hours each Day 1 Formatting Conditional Formatting: Beyond Simple Conditional Formats Data Validation: Extended Uses of Data Validation working with Validation

More information

Never Give Up Page 1

Never Give Up Page 1 VISUAL BASIC FOR APPLICATIONS (VBA) & MACROS TRAINING: Microsoft Visual Basic for Applications (VBA, Macros) when used with Microsoft Excel can build powerful automated business tools quickly and with

More information

ADVANCED EXCEL Course Modules for Advance Excel Training Online (MS Excel 2013 Course):

ADVANCED EXCEL Course Modules for Advance Excel Training Online (MS Excel 2013 Course): Course Modules for Advance Excel Training Online (MS Excel 2013 Course): ADVANCED EXCEL 2013 1 Getting started with Excel 2013 A Identifying the different Excel 2013 programs B Identifying new features

More information

Office 2016 Excel Basics 01 Video/Class Project #13 Excel Basics 1: Excel Grid, Formatting, Formulas, Cell References, Page Setup (O16-13)

Office 2016 Excel Basics 01 Video/Class Project #13 Excel Basics 1: Excel Grid, Formatting, Formulas, Cell References, Page Setup (O16-13) Office 2016 Excel Basics 01 Video/Class Project #13 Excel Basics 1: Excel Grid, Formatting, Formulas, Cell References, Page Setup (O16-13) Topics Covered in Video: 1) Excel file = Workbook, not Document

More information

Table of Contents. Preface... iii COMPUTER BASICS WINDOWS XP

Table of Contents. Preface... iii COMPUTER BASICS WINDOWS XP Table of Contents Preface... iii COMPUTER BASICS Fundamentals of Computer 1 Various Types of Computers 2 Personal Computer 2 Personal Digital Assistant 3 Laptop Computer 3 Tablet PC 3 Main Frame Computer

More information

Contents. Part I: Getting Started with Excel

Contents. Part I: Getting Started with Excel Contents AL Acknowledgments....................................................... ix Introduction......................................................... xxxvii TE D MA TE RI Is This Book for You?...xxxvii

More information

Getting started 7. Setting properties 23

Getting started 7. Setting properties 23 Contents 1 2 3 Getting started 7 Introducing Visual Basic 8 Installing Visual Studio 10 Exploring the IDE 12 Starting a new project 14 Adding a visual control 16 Adding functional code 18 Saving projects

More information

3 Welcome Application 41 Introduction to Visual Programming

3 Welcome Application 41 Introduction to Visual Programming CO N T E N T S Preface xvii 1 Graphing Application 1 Introducing Computers, the Internet and Visual Basic.NET 1.1 What Is a Computer? 1 1.2 Computer Organization 2 1.3 Machine Languages, Assembly Languages

More information

A new workbook contains 256 worksheets. The worksheet is a grid of COLUMNS and ROWS. The intersection of a column and a row is called a CELL.

A new workbook contains 256 worksheets. The worksheet is a grid of COLUMNS and ROWS. The intersection of a column and a row is called a CELL. MICROSOFT EXCEL INTRODUCTION Microsoft Excel is allow you to create professional spreadsheets and charts. It is quite useful in entering, editing, analysis and storing of data. It performs numerous functions

More information

Before You Begin 1 Graphing Application 1 Introducing Computers, the Internet and Visual Basic.NET

Before You Begin 1 Graphing Application 1 Introducing Computers, the Internet and Visual Basic.NET CO N T E N T S Preface Before You Begin xviii xxviii 1 Graphing Application 1 Introducing Computers, the Internet and Visual Basic.NET 1.1 What Is a Computer? 1 1.2 Computer Organization 2 1.3 Machine

More information

Subject to Change Drawing Application 1 Introducing Computers, the Internet and C#

Subject to Change Drawing Application 1 Introducing Computers, the Internet and C# CO N T E N T S Subject to Change 08-01-2003 Preface Before You Begin Brief Table of Contents i iv vii 1 Drawing Application 1 Introducing Computers, the Internet and C# 1.1 What Is a Computer? 1 1.2 Computer

More information

ft so ea i E? a p qjf, $0> Excel" 2013 BIBLE John Walkenbach

ft so ea i E? a p qjf, $0> Excel 2013 BIBLE John Walkenbach qjf, WM E? a p $0> ft so ea i Excel" 2013 BIBLE John Walkenbach Acknowledgments.- ix Introduction xxxvii Is This Book for You? xxxvii Software Versions xxxvii Conventions Used in This Book xxxviii Excel

More information

2. create the workbook file

2. create the workbook file 2. create the workbook file Excel documents are called workbook files. A workbook can include multiple sheets of information. Excel supports two kinds of sheets for working with data: Worksheets, which

More information

Advanced Excel Macros : Data Validation/Analysis : OneDrive

Advanced Excel Macros : Data Validation/Analysis : OneDrive Advanced Excel Macros : Data Validation/Analysis : OneDrive Macros Macros in Excel are in short, a recording of keystrokes. Beyond simple recording, you can use macros to automate tasks that you will use

More information

This document describes how to use the CAP workbook with Excel It applies to version 6b of the workbook.

This document describes how to use the CAP workbook with Excel It applies to version 6b of the workbook. Introduction This document describes how to use the CAP workbook with Excel 2007. It applies to version 6b of the workbook. Be sure to use the new version 6b of the CAP workbook when using Excel 2007!

More information

VBA Collections A Group of Similar Objects that Share Common Properties, Methods and

VBA Collections A Group of Similar Objects that Share Common Properties, Methods and VBA AND MACROS VBA is a major division of the stand-alone Visual Basic programming language. It is integrated into Microsoft Office applications. It is the macro language of Microsoft Office Suite. Previously

More information

Microsoft How to Series

Microsoft How to Series Microsoft How to Series Getting Started with EXCEL 2007 A B C D E F Tabs Introduction to the Excel 2007 Interface The Excel 2007 Interface is comprised of several elements, with four main parts: Office

More information

VBA Excel 2013/2016. VBA Visual Basic for Applications. Learner Guide

VBA Excel 2013/2016. VBA Visual Basic for Applications. Learner Guide VBA Visual Basic for Applications Learner Guide 1 Table of Contents SECTION 1 WORKING WITH MACROS...5 WORKING WITH MACROS...6 About Excel macros...6 Opening Excel (using Windows 7 or 10)...6 Recognizing

More information

Chapter 1: Excel in a Nutshell 3 Chapter 2: Basic Facts about Formulas 33 Chapter 3: Working with Names 59

Chapter 1: Excel in a Nutshell 3 Chapter 2: Basic Facts about Formulas 33 Chapter 3: Working with Names 59 Contents at a Glance Part I: Basic Information Chapter 1: Excel in a Nutshell 3 Chapter 2: Basic Facts about Formulas 33 Chapter 3: Working with Names 59 Part II: Using Functions in Your Formulas Chapter

More information

COPYRIGHTED MATERIAL. Part I: Getting Started with Excel 1. xiii. Acknowledgments... ix Introduction... xli. Chapter 1: Introducing Excel...

COPYRIGHTED MATERIAL. Part I: Getting Started with Excel 1. xiii. Acknowledgments... ix Introduction... xli. Chapter 1: Introducing Excel... Acknowledgments....................................................... ix Introduction........................................................... xli Part I: Getting Started with Excel 1 Chapter 1: Introducing

More information

Las Vegas, Nevada, December 3 6, Kevin Vandecar. Speaker Name:

Las Vegas, Nevada, December 3 6, Kevin Vandecar. Speaker Name: Las Vegas, Nevada, December 3 6, 2002 Speaker Name: Kevin Vandecar Course Title: Introduction to Visual Basic Course ID: CP11-3 Session Overview: Introduction to Visual Basic programming is a beginning

More information

Basics of Spreadsheet

Basics of Spreadsheet 106 :: Data Entry Operations 6 Basics of Spreadsheet 6.1 INTRODUCTION A spreadsheet is a large sheet having data and information arranged in rows and columns. As you know, Excel is one of the most widely

More information

Read More: Keyboard Shortcuts for Moving around Excel Spreadsheets

Read More: Keyboard Shortcuts for Moving around Excel Spreadsheets You will do all your works in a workbook file. You can add as many worksheets as you need in a workbook file. Each worksheet appears in its own window. By default, Excel workbooks use a.xlsx file extension.

More information

Excel for Dummies: Quick Reference

Excel for Dummies: Quick Reference Excel for Dummies: Quick Reference Walkenbach, John ISBN-13: 9780764539879 Table of Contents The Big Picture: Microsoft Office Excel 2003. What You See: The Excel Window. What You See: Dialog Boxes. Toolbar

More information

CS 200. Lecture 05. Excel Scripting. Excel Scripting. CS 200 Fall 2014

CS 200. Lecture 05. Excel Scripting. Excel Scripting. CS 200 Fall 2014 CS 200 Lecture 05 1 Abbreviations aka CWS VBE intra- inter- Also Known As Miscellaneous Notes Course Web Site (http://www.student.cs.uwaterloo.ca/~cs200) Visual Basic Editor a prefix meaning within thus

More information

As you probably know, Microsoft Excel is an

As you probably know, Microsoft Excel is an Introducing Excel Programming As you probably know, Microsoft Excel is an electronic worksheet you can use for a variety of purposes, including the following: maintain lists; perform mathematical, financial,

More information

Ms Excel Vba Continue Loop Through Worksheets By Name

Ms Excel Vba Continue Loop Through Worksheets By Name Ms Excel Vba Continue Loop Through Worksheets By Name exceltip.com/files-workbook-and-worksheets-in-vba/determine-if- Checks if the Sheet name is matching the Sheet name passed from the main macro. It

More information

Excel' 2010 Bible. John Walkenbach. Wiley Publishing, Inc. WILEY

Excel' 2010 Bible. John Walkenbach. Wiley Publishing, Inc. WILEY Excel' 2010 Bible John Walkenbach WILEY Wiley Publishing, Inc. vmlli^ti&: Acknowledgments Introduction xxxvii xxxviii Part 1: Getting Started with Excel 1 Chapter 1: Introducing Excel 3 What Is Excel Good

More information

Office 2011 for Mac ALL-IN-ONE FOR DUMMIES. by Geetesh Bajaj and James Gordon Microsoft MVPs. Wiley Publishing, Inc.

Office 2011 for Mac ALL-IN-ONE FOR DUMMIES. by Geetesh Bajaj and James Gordon Microsoft MVPs. Wiley Publishing, Inc. Office 2011 for Mac ALL-IN-ONE FOR DUMMIES by Geetesh Bajaj and James Gordon Microsoft MVPs Wiley Publishing, Inc. Table of Contents Introduction,.. 7 Book h introducing Office 2011 5 Chapter 1: Going

More information

Candy is Dandy Project (Project #12)

Candy is Dandy Project (Project #12) Candy is Dandy Project (Project #12) You have been hired to conduct some market research about M&M's. First, you had your team purchase 4 large bags and the results are given for the contents of those

More information

Secrets Of Ms Excel Vba Macros For Beginners Save Your Time With Visual Basic Macros

Secrets Of Ms Excel Vba Macros For Beginners Save Your Time With Visual Basic Macros Secrets Of Ms Excel Vba Macros For Beginners Save Your Time With Visual Basic Macros We have made it easy for you to find a PDF Ebooks without any digging. And by having access to our ebooks online or

More information

Free Microsoft Office 2010 training from MedCerts. Course Outline

Free Microsoft Office 2010 training from MedCerts. Course Outline Free Microsoft Office 2010 training from MedCerts Course Outline Microsoft Office Word 2010: Basic Course Introduction Unit 01 - Getting Started Topic A: The Word Window The Word 2010 Window Demo - A-1:

More information

CS 200. Lecture 07. Excel Scripting. Miscellaneous Notes

CS 200. Lecture 07. Excel Scripting. Miscellaneous Notes CS 200 Lecture 07 1 Abbreviations aka Also Known As Miscellaneous Notes CWS Course Web Site (http://www.student.cs.uwaterloo.ca/~cs200) VBE Visual Basic Editor intra- a prefix meaning within thus intra-cellular

More information

EVALUATION ONLY. Table of Contents. iv Labyrinth Learning

EVALUATION ONLY. Table of Contents. iv Labyrinth Learning Quick Reference Tables Preface EXCEL 2013 LESSON 1: EXPLORING EXCEL 2013 Presenting Excel 2013 Starting Excel Windows 7 Windows 8 Exploring the Excel Program Window Using Worksheets and Workbooks Mousing

More information

Excel & Visual Basic for Applications (VBA)

Excel & Visual Basic for Applications (VBA) Class meeting #18 Monday, Oct. 26 th GEEN 1300 Introduction to Engineering Computing Excel & Visual Basic for Applications (VBA) user interfaces o on-sheet buttons o InputBox and MsgBox functions o userforms

More information

This book is about using Microsoft Excel to

This book is about using Microsoft Excel to Introducing Data Analysis with Excel This book is about using Microsoft Excel to analyze your data. Microsoft Excel is an electronic worksheet you can use to perform mathematical, financial, and statistical

More information

Workbooks (File) and Worksheet Handling

Workbooks (File) and Worksheet Handling Workbooks (File) and Worksheet Handling Excel Limitation Excel shortcut use and benefits Excel setting and custom list creation Excel Template and File location system Advanced Paste Special Calculation

More information

Acknowledgements About the Author Starting off on the Right Foot p. 1 Basic Terminology p. 2 Title Bar p. 3 Menu Bar p. 3 Active Cell p.

Acknowledgements About the Author Starting off on the Right Foot p. 1 Basic Terminology p. 2 Title Bar p. 3 Menu Bar p. 3 Active Cell p. Acknowledgements p. a About the Author p. e Starting off on the Right Foot p. 1 Basic Terminology p. 2 Title Bar p. 3 Menu Bar p. 3 Active Cell p. 3 Toolbar Collections p. 3 Toolbar Collections p. 4 Help

More information

Chapter 1. Chapter 2. viii. Understanding the PowerPoint Work Area...1. Getting Started...4. PowerPoint Versions...6. The PowerPoint Work Area...

Chapter 1. Chapter 2. viii. Understanding the PowerPoint Work Area...1. Getting Started...4. PowerPoint Versions...6. The PowerPoint Work Area... Table Chapter 1 Understanding the PowerPoint Work Area...1 Getting Started...4 PowerPoint Versions...6 The PowerPoint Work Area...8 Chapter 2 Working with Text on Slides...17 What Is a Slide Show?...20

More information

Maximizing the Power of Excel With Macros and Modules

Maximizing the Power of Excel With Macros and Modules Maximizing the Power of Excel With Macros and Modules Produced by SkillPath Seminars The Smart Choice 6900 Squibb Road P.O. Box 2768 Mission, KS 66201-2768 1-800-873-7545 www.skillpath.com Maximizing the

More information

HOW TO USE THIS BOOK... V 1 GETTING STARTED... 2

HOW TO USE THIS BOOK... V 1 GETTING STARTED... 2 TABLE OF CONTENTS HOW TO USE THIS BOOK...................... V 1 GETTING STARTED.......................... 2 Introducing Data Analysis with Excel...2 Tour the Excel Window...3 Explore the Ribbon...4 Using

More information

CS 200. Lecture 07. Excel Scripting. Excel Scripting. CS 200 Fall 2016

CS 200. Lecture 07. Excel Scripting. Excel Scripting. CS 200 Fall 2016 CS 200 Lecture 07 1 Abbreviations aka Also Known As Miscellaneous Notes CWS Course Web Site (http://www.student.cs.uwaterloo.ca/~cs200) VBE Visual Basic Editor intra- a prefix meaning within thus intra-cellular

More information

CS 200. Lecture 07. Excel Scripting. Miscellaneous Notes

CS 200. Lecture 07. Excel Scripting. Miscellaneous Notes CS 200 Lecture 07 1 Abbreviations aka Also Known As Miscellaneous Notes CWS Course Web Site (http://www.student.cs.uwaterloo.ca/~cs200) VBE Visual Basic Editor intra- a prefix meaning within thus intra-cellular

More information

CS 200. Lecture 07. Excel Scripting. Excel Scripting. CS 200 Spring Wednesday, June 18, 2014

CS 200. Lecture 07. Excel Scripting. Excel Scripting. CS 200 Spring Wednesday, June 18, 2014 CS 200 Lecture 07 1 Miscellaneous Notes Abbreviations aka CWS VBE intra- inter- Also Known As Course Web Site (http://www.student.cs.uwaterloo.ca/~cs200) Visual Basic Editor a prefix meaning within thus

More information

6/14/2010. VBA program units: Subroutines and Functions. Functions: Examples: Examples:

6/14/2010. VBA program units: Subroutines and Functions. Functions: Examples: Examples: VBA program units: Subroutines and Functions Subs: a chunk of VBA code that can be executed by running it from Excel, from the VBE, or by being called by another VBA subprogram can be created with the

More information

RegressItPC installation and test instructions 1

RegressItPC installation and test instructions 1 RegressItPC installation and test instructions 1 1. Create a new folder in which to store your RegressIt files. It is recommended that you create a new folder called RegressIt in the Documents folder,

More information

CS 200. Lecture 05! Excel Scripting. Miscellaneous Notes

CS 200. Lecture 05! Excel Scripting. Miscellaneous Notes CS 200 Lecture 05! 1 Abbreviations aka CWS VBE intra- inter- Also Known As Miscellaneous Notes Course Web Site (http://www.student.cs.uwaterloo.ca/~cs200) Visual Basic Editor a prefix meaning within thus

More information

The Item_Master_addin.xlam is an Excel add-in file used to provide additional features to assist during plan development.

The Item_Master_addin.xlam is an Excel add-in file used to provide additional features to assist during plan development. Name: Tested Excel Version: Compatible Excel Version: Item_Master_addin.xlam Microsoft Excel 2013, 32bit version Microsoft Excel 2007 and up (32bit and 64 bit versions) Description The Item_Master_addin.xlam

More information

COURSE CONTENT Excel with VBA Training

COURSE CONTENT Excel with VBA Training COURSE CONTENT Excel with VBA Training MS Excel - Advance 1. Excel Quick Overview Use of Excel, its boundaries & features 2. Data Formatting & Custom setting Number, Text, Date, Currency, Custom settings.

More information

download instant at

download instant at CHAPTER 1 - LAB SESSION INTRODUCTION TO EXCEL INTRODUCTION: This lab session is designed to introduce you to the statistical aspects of Microsoft Excel. During this session you will learn how to enter

More information

239 Excel Keyboard Shortcuts

239 Excel Keyboard Shortcuts 239 Excel Keyboard Shortcuts WORK FASTER AND MORE EFFICIENTLY WITH THESE CLEARLY ILLUSTRATED EXCEL SHORTCUTS. My Online Training Hub https://www.myonlinetraininghub.com/ Below is a huge list of Excel keyboard

More information

Contents. More Controls 51. Visual Basic 1. Introduction to. xiii. Modify the Project 30. Print the Project Documentation 35

Contents. More Controls 51. Visual Basic 1. Introduction to. xiii. Modify the Project 30. Print the Project Documentation 35 Contents Modify the Project 30 Introduction to Print the Project Documentation 35 Visual Basic 1 Sample Printout 36 Writing Windows Applications The Form Image 36 The Code 37 with Visual Basic 2 The Form

More information

MODULE VI: MORE FUNCTIONS

MODULE VI: MORE FUNCTIONS MODULE VI: MORE FUNCTIONS Copyright 2012, National Seminars Training More Functions Using the VLOOKUP and HLOOKUP Functions Lookup functions look up values in a table and return a result based on those

More information

Excel Tools Features... 1 Comments... 2 List Comments Formatting... 3 Center Across... 3 Hide Blank Rows... 3 Lists... 3 Sheet Links...

Excel Tools Features... 1 Comments... 2 List Comments Formatting... 3 Center Across... 3 Hide Blank Rows... 3 Lists... 3 Sheet Links... CONTEXTURES EXCEL TOOLS FEATURES LIST PAGE 1 Excel Tools Features The following features are contained in the Excel Tools Add-in. Excel Tools Features... 1 Comments... 2 List Comments... 2 Comments...

More information

Nomas Training. Course Outlines

Nomas Training. Course Outlines Nomas Training Course Outlines Nomas Training & Consultancy Ltd www.nomas.co.uk Training Course Outlines * COURSE LEVEL TOPICS An Introductory course for new users of this package. INTRODUCTION Entering

More information

Index. #All special item, 65 #Data special item, 64 #Header special item, 65 #ThisRow special item, 65 #Totals special item, 65

Index. #All special item, 65 #Data special item, 64 #Header special item, 65 #ThisRow special item, 65 #Totals special item, 65 Index # #All special item, 65 #Data special item, 64 #Header special item, 65 #ThisRow special item, 65 #Totals special item, 65 A absolute and relative cell references, 118 accept/reject changes to a

More information

Contents. Some Basics Simple VBA Procedure (Macro) To Execute The Procedure Recording A Macro About Macro Recorder VBA Objects Reference

Contents. Some Basics Simple VBA Procedure (Macro) To Execute The Procedure Recording A Macro About Macro Recorder VBA Objects Reference Introduction To VBA Contents Some Basics Simple VBA Procedure (Macro) To Execute The Procedure Recording A Macro About Macro Recorder VBA Objects Reference Some Basics Code: You perform actions in VBA

More information

Microsoft Visual Studio 2010

Microsoft Visual Studio 2010 Microsoft Visual Studio 2010 A Beginner's Guide Joe Mayo Mc Grauu Hill New York Chicago San Francisco Lisbon London Madrid Mexico City Milan New Delhi San Juan Seoul Singapore Sydney Toronto Contents ACKNOWLEDGMENTS

More information

Contents. Introduction 15. How to use this course 18. Session One: Basic Skills 21. Session Two: Doing Useful Work with Excel 65

Contents. Introduction 15. How to use this course 18. Session One: Basic Skills 21. Session Two: Doing Useful Work with Excel 65 Contents Introduction 15 Downloading the sample files... 15 Problem resolution... 15 The Excel version and locale that were used to write this book... 15 Typographical Conventions Used in This Book...

More information

Microsoft Office Excel 2007: Basic. Course Overview. Course Length: 1 Day. Course Overview

Microsoft Office Excel 2007: Basic. Course Overview. Course Length: 1 Day. Course Overview Microsoft Office Excel 2007: Basic Course Length: 1 Day Course Overview This course teaches the basic functions and features of Excel 2007. After an introduction to spreadsheet terminology and Excel's

More information

Telerik Corp. Test Studio Standalone & Visual Studio Plug-In Quick-Start Guide

Telerik Corp. Test Studio Standalone & Visual Studio Plug-In Quick-Start Guide Test Studio Standalone & Visual Studio Plug-In Quick-Start Guide Contents Create your First Test... 3 Standalone Web Test... 3 Standalone WPF Test... 6 Standalone Silverlight Test... 8 Visual Studio Plug-In

More information

Table of Contents. Word. Using the mouse wheel 39 Moving the insertion point using the keyboard 40 Resume reading 41

Table of Contents. Word. Using the mouse wheel 39 Moving the insertion point using the keyboard 40 Resume reading 41 Table of Contents iii Table of Contents Word Starting Word What is word processing? 2 Starting Word 2 Exploring the Start screen 4 Creating a blank document 4 Exploring the Word document window 5 Exploring

More information

Beginning Microsoft Office 2010

Beginning Microsoft Office 2010 Beginning Microsoft Office 2010 IB I IP TECHNISCHI= ^\ 'NFORMATIONSBIBLIOTHEK UNIVERSITATSBIBLIOTHEK HANNOVER Guy Hart-Davis Apress* TIB/UB Hannover 89 133 299 783 ill! IWIlilltllw i ttis f0k^fsll^»m*r~

More information

Rev Up to Excel 2010

Rev Up to Excel 2010 Rev Up to Excel 2010 Upgraders Guide to Excel 2010 by Bill Jelen Published by H OLY MACRO! BOOKS PO Box 82, Uniontown, OH 44685 Contents About the Author Dedication Acknowledgements v v v Introduction

More information