Debugging INTRODUCTION DEBUGGER WHAT IS VBA'S DEBUGGING ENVIRONMENT?

Size: px
Start display at page:

Download "Debugging INTRODUCTION DEBUGGER WHAT IS VBA'S DEBUGGING ENVIRONMENT?"

Transcription

1 Debugging INTRODUCTION Logic errors are called bugs. The process of finding and correcting errors is called debugging. A common approach to debugging is to use a combination of methods to narrow down to the part of the program where the bug is located. You can hand-trace the program (i.e., catch errors by reading the program), or you can insert print statements in order to show the values of the variables or the execution flow of the program. This approach might work for a short, simple program. But for a large, complex program, the most effective approach for debugging is to use a debugger utility. DEBUGGER Debugger is a program that facilitates debugging. You can use a debugger to Execute a single statement at a time. Trace into or stepping over a method. Set breakpoints. Display variables. Display call stack. Modify variables. WHAT IS VBA'S DEBUGGING ENVIRONMENT? In Excel 2016, VBA's debugging environment allows the programmer to momentarily suspend the execution of VBA code so that the following debug tasks can be done: 1. Check the value of a variable in its current state. 2. Enter VBA code in the Immediate window to view the results. 3. Execute each line of code one at a time. 4. Continue execution of the code. 5. Halt execution of the code. These are just some of the tasks that you might perform in VBA's debugging environment.

2 This document covers the following: How to set a breakpoint? How to clear a breakpoint? How to clear all breakpoints? Debug mode in VBA How to check values in VBA? How to use the Immediate Window? How to move through the code Step Into Step Over Continue Halt WHAT IS A BREAKPOINT? In Excel 2016, a breakpoint is a selected line of code that once reached, your program will momentarily become suspended. Once suspended, you are able to use VBA's debugging environment to view the status of your program, step through each successive line of code, continue execution of the code, or halt execution of the code.

3 You can create as many breakpoints in your code as you want. Breakpoints are particularly useful when you want to suspend your program where you suspect a problem/bug exists. SETTING A BREAKPOINT Next, let's look at how to set a breakpoint. First, you need to open the VBA environment. The quickest way to do this is by pressing Alt+F11 while your Excel database file is open. To set a breakpoint, find the line of code where you'd like to suspend your program. Left-click in the grey bar to the left of the code. A red dot should appear and the line of code should be highlighted in red. In this example, we've created a breakpoint at the following line of code: While LPos <= Len(pValue)

4 CLEARING A BREAKPOINT A breakpoint in VBA is indicated by a red dot with a line of code highlighted in red. To clear a breakpoint in Excel 2016, left-click on the red dot next to the line of code that has the breakpoint. In this example, we want to clear the breakpoint at the following line of code: While LPos <= Len(pValue)

5 Now, the breakpoint is cleared and the line of code should look normal again. CLEARING ALL BREAKPOINTS Because you can set as many breakpoints as you want in Excel 2016, you can save time by clearing all breakpoints in your VBA code at once. To clear all breakpoints in your program, select "Clear All Breakpoints" under the Debug menu.

6 This will remove all breakpoints from your VBA code, so that you don't have to individually remove each breakpoint, one by one. DEBUG MODE Now that we know how to set and clear breakpoints in Excel 2016, let's take a closer look at the debug mode in VBA. In our example, we've set our breakpoint and entered our AlphaNumeric function as a formula in a cell. This will cause the VBA code to execute.

7 When the breakpoint is reached, Excel will display the Microsoft Visual Basic window and highlight the line (in yellow) where the code has been suspended.

8 Now we are in debug mode in our Excel spreadsheet. Now we can do any of the following: 1. Check the value of a variable in its current state. 2. Enter VBA code in the Immediate window to view the results. 3. Execute each line of code one at a time. 4. Continue execution of the code. 5. Halt execution of the code. CHECKING VALUES In Excel 2016, if you want to view the value of a variable in your VBA code at the time that the program was suspended, you can move your mouse pointer over that VBA code. Bubble text will appear displaying the variable/expression name and its value in its current state.

9 In this example, we've moved the mouse pointer over the expression Value. The bubble text displays the expression name with a value of "123 Main St". This feature is useful if you need to quickly check a variable/expression in your code. USING THE IMMEDIATE WINDOW In Excel 2016, the Immediate window can be used to debug your program by allowing you to enter and run VBA code in the context of the suspended program. We've found the Immediate window to be the most help when we need to find out the value of a variable, expression, or object at a certain point in the program. This can be done using the print command. For example, if you wanted to check the current value of the variable called pvalue, you could use the print command as follows:

10 In this example, we typed print len(pvalue) in the Immediate window and pressed ENTER. print len(pvalue) The Immediate window displayed the result of 6 in the next line. The Immediate window can be used to run other kinds of VBA code, but bear in mind that the Immediate window can only be used when debugging so any code that you run is for debugging purposes only. The code entered in the Immediate window does not get saved and added to your existing VBA code. WATCH WINDOW The Microsoft Visual Basic for Applications window displays your VBA environment in Excel 2016:

11 Next, let's analyze the Watch window in the VBA environment. In Excel 2016, the Watch window is usually found below the Code window. It is one of the most valuable tools when debugging in the VBA environment. It lets you: Define and monitor any expression. When in debug mode, it lets you view the value of the watched expression in its current state. This will be discussed in the tutorial on Debugging VBA Code. If the Watch window is not visible when you open the Microsoft Visual Basic for Applications window, you can make it visible by selecting Watch Window under the View menu.

12 ADDING A WATCH EXPRESSION In Excel 2016, the Watch Window displays the value of a watched expression in its current state. This can be extremely useful when debugging VBA code. Let's explore how to add an expression to the Watch Window. To add a Watch expression, select Add Watch under the Debug menu.

13 When the Add Watch window appears, enter the expression to watch and click the OK button when you are done.

14 In this example, we've entered the following watch expression in the Expression field: Len(pValue) Next, we've selected AlphaNumeric as the Procedure and Module1 as the Module when setting up the Context for the watched expression. Finally, we've selected Watch Expression as the Watch Type but there are 3 options to choose from: Watch Type Watch Expression Break When Value Is True Break When Value Changes Description To display the value of the watched expression in its current state To stop the execution of the code when the value of the watched expression is True To stop the execution of the code when the value of the watched expression changes Now when you return to the VBA window, the Watch Window will automatically appear if it was previously hidden. Within the Watch Window, all of the watched expressions should be listed including the one that we just added.

15 As you can see, the expression Len(pValue) now appears in the Watch Window with a value of 6. Adding a watch is a great way to keep track of variables or expressions of interest when debugging your VBA code. CHOOSE HOW TO MOVE THROUGH YOUR CODE Your program is now suspended at the highlighted breakpoint. What's next?

16 Now that you've suspended execution of your program in Excel 2016 and are in debug mode, you need to choose how to proceed through your code. We'll cover the 4 most common choices. 1. Step Into 2. Step Over 3. Continue 4. Halt Let's look at each of these. STEP INTO While in debug mode, you can "Step Into" your VBA code in Excel 2016.

17 You can choose to "Step Into" your code in Excel What this means is that you will step through each line of code in your current procedure as well as step into the code of any procedures that are called by the current procedure. You can do this by either pressing the F8 key or selecting "Step Into" under the Debug menu.

18 Each time you select "Step Into", the debugger will move you to the next line of code. STEP OVER While in debug mode, you can "Step Over" your VBA code in Excel 2016.

19 You can choose to "Step Over in Excel 2016". What this means is that you will step through each line of code in your current procedure, but step over (ie: run as a unit) any procedures that are called by the current procedure. You can do this by either pressing the Shift+F8 key or selecting "Step Over" under the Debug menu.

20 Each time you select "Step Over", the debugger will move you to the next line of code in your current procedure. If your current procedure calls another procedure, the debugger will step over the called procedure. It won't drill down into the code of the called procedure. CONTINUE While in debug mode, you can "Continue" your VBA code in Excel 2016.

21 You can choose to "Continue" execution of your code in Excel What this means is that your suspended program will continue executing from where it left off. With this option, your program should either finish running or suspend at the next breakpoint encountered. You can do this by either pressing the F5 key or selecting "Continue" under the Run menu.

22 HALT While in debug mode, you can "Halt" your VBA code in Excel 2016.

23 You can choose to "Halt" execution of your code in Excel What this means is that your suspended program will halt execution. You will no longer be in debug mode. You can do this by selecting "Reset" under the Run menu.

24 You would normally select this option after you've identified the bug in your code. Once your code is halted, you can modify your VBA code to remedy the problem. SOURCE

A Tutorial for ECE 175

A Tutorial for ECE 175 Debugging in Microsoft Visual Studio 2010 A Tutorial for ECE 175 1. Introduction Debugging refers to the process of discovering defects (bugs) in software and correcting them. This process is invoked when

More information

Intro to MS Visual C++ Debugging

Intro to MS Visual C++ Debugging Intro to MS Visual C++ Debugging 1 Debugger Definition A program used to control the execution of another program for diagnostic purposes. Debugger Features / Operations Single-Stepping 100011101010101010

More information

Supplement: Visual C++ Debugging

Supplement: Visual C++ Debugging Supplement: Visual C++ Debugging For Introduction to C++ Programming By Y. Daniel Liang Note: The screen shots are taken from VC++ 2010. It is the same for the later version. 1 Introduction The debugger

More information

The NetBeans Debugger: A Brief Tutorial

The NetBeans Debugger: A Brief Tutorial The NetBeans Debugger: A Brief Tutorial Based on a tutorial by Anousha Mesbah from the University of Georgia NetBeans provides a debugging tool that lets you trace the execution of a program step by step.

More information

Assembly Programming in Atmel Studio 7 Step by Step Tutorial

Assembly Programming in Atmel Studio 7 Step by Step Tutorial Assembly Programming in Atmel Studio 7 Step by Step Tutorial Sepehr Naimi BIHE University 12/1/2017 Contents Introduction... 2 Downloading and Installing Atmel Studio... 3 Opening Atmel Studio... 3 Creating

More information

Troubleshooting in Microsoft Excel 2002

Troubleshooting in Microsoft Excel 2002 Page 1 of 8 Troubleshooting in Microsoft Excel 2002 Result: To understand how to work with the Excel software to enter data, navigate the page, and print materials. Tabs Look at the tabs at the bottom

More information

Lab 8 - Vectors, and Debugging. Directions

Lab 8 - Vectors, and Debugging. Directions Lab 8 - Vectors, and Debugging. Directions The labs are marked based on attendance and effort. It is your responsibility to ensure the TA records your progress by the end of the lab. While completing these

More information

Using the Xcode Debugger

Using the Xcode Debugger g Using the Xcode Debugger J Objectives In this appendix you ll: Set breakpoints and run a program in the debugger. Use the Continue program execution command to continue execution. Use the Auto window

More information

Contents. Group 3 Excel Handouts 2010

Contents. Group 3 Excel Handouts 2010 Contents Function Library... 2 Function Operators... 2 Order of Multiple Operators... 2 Function Library... 3 Formula Auditing... 4 Name Cells... 7 Comments... 8 Show Ink... 9 Show Ink is a colorful way

More information

Computer Science II Lab 3 Testing and Debugging

Computer Science II Lab 3 Testing and Debugging Computer Science II Lab 3 Testing and Debugging Introduction Testing and debugging are important steps in programming. Loosely, you can think of testing as verifying that your program works and debugging

More information

BasicScript 2.25 User s Guide. May 29, 1996

BasicScript 2.25 User s Guide. May 29, 1996 BasicScript 2.25 User s Guide May 29, 1996 Information in this document is subject to change without notice. No part of this document may be reproduced or transmitted in any form or by any means, electronic

More information

We are built to make mistakes, coded for error. Lewis Thomas

We are built to make mistakes, coded for error. Lewis Thomas Debugging in Eclipse Debugging 1 We are built to make mistakes, coded for error. Lewis Thomas It is one thing to show a man that he is in error, and another to put him in possession of the truth. John

More information

Outline. Debugging. In Class Exercise Solution. Review If Else If. Immediate Program Errors. Function Test Example

Outline. Debugging. In Class Exercise Solution. Review If Else If. Immediate Program Errors. Function Test Example Debugging Larry Caretto Mechanical Engineering 209 Computer Programming for Mechanical Engineers February 16, 2017 Outline Review choice statements Finding and correcting program errors Debugging toolbar

More information

Introduction to IntelliJ

Introduction to IntelliJ Introduction to IntelliJ IntelliJ is a large software package used by professional software developers. This document will give you a brief introduction but is by no means exhaustive. If you have questions

More information

Integrated Software Environment. Part 2

Integrated Software Environment. Part 2 Integrated Software Environment Part 2 Operating Systems An operating system is the most important software that runs on a computer. It manages the computer's memory, processes, and all of its software

More information

Outline. Writing Functions and Subs. Review Immediate (1-line) Errors. Quiz Two on Thursday (2/23) Same Code Without Option Explicit

Outline. Writing Functions and Subs. Review Immediate (1-line) Errors. Quiz Two on Thursday (2/23) Same Code Without Option Explicit Writing Functions and Subs Larry Caretto Mechanical Engineering 209 Computer Programming for Mechanical Engineers February 21, 2017 Outline Review Debugging and Option Explicit What are functions and subs?

More information

Under the Debug menu, there are two menu items for executing your code: the Start (F5) option and the

Under the Debug menu, there are two menu items for executing your code: the Start (F5) option and the CS106B Summer 2013 Handout #07P June 24, 2013 Debugging with Visual Studio This handout has many authors including Eric Roberts, Julie Zelenski, Stacey Doerr, Justin Manis, Justin Santamaria, and Jason

More information

11Debugging and Handling. C# Programming: From Problem Analysis to Program Design 2nd Edition. David McDonald, Ph.D. Director of Emerging Technologies

11Debugging and Handling. C# Programming: From Problem Analysis to Program Design 2nd Edition. David McDonald, Ph.D. Director of Emerging Technologies 11Debugging and Handling 11Exceptions C# Programming: From Problem Analysis to Program Design 2nd Edition David McDonald, Ph.D. Director of Emerging Technologies Chapter Objectives Learn about exceptions,

More information

Programming Logic - Beginning

Programming Logic - Beginning Programming Logic - Beginning 152-101 Debugging Applications Quick Links & Text References Debugging Concepts Pages Debugging Terminology Pages Debugging in Visual Studio Pages Breakpoints Pages Watches

More information

How to Remove Duplicate Rows in Excel

How to Remove Duplicate Rows in Excel How to Remove Duplicate Rows in Excel http://www.howtogeek.com/198052/how-to-remove-duplicate-rows-in-excel/ When you are working with spreadsheets in Microsoft Excel and accidentally copy rows, or if

More information

Debugging in Small Basic is the process of analysing a program to detect and fix errors or improve functionality in some way.

Debugging in Small Basic is the process of analysing a program to detect and fix errors or improve functionality in some way. How to Debug Introduction Debugging in Small Basic is the process of analysing a program to detect and fix errors or improve functionality in some way. In order to debug a program it must first compile

More information

Who Am I? Objective. Debugging Essentials

Who Am I? Objective. Debugging Essentials Session SCH290 Debugging Essentials Rick Schummer White Light Computing, Inc. Copyright 2004 Who Am I? President of White Light Computing, Inc. Co-authoring: What s New in Nine Co-author: Deploying Visual

More information

Changing the Embedded World TM. Module 3: Getting Started Debugging

Changing the Embedded World TM. Module 3: Getting Started Debugging Changing the Embedded World TM Module 3: Getting Started Debugging Module Objectives: Section 1: Introduce Debugging Techniques Section 2: PSoC In-Circuit Emulator (ICE) Section 3: Hands on Debugging a

More information

Findmyshift - Getting started with Findmyshift

Findmyshift - Getting started with Findmyshift Findmyshift - Getting started with Findmyshift Managers Creating your first roster Adding staff to your team Inviting your staff to log in Choosing your settings Entering shifts Publishing shifts Handling

More information

7 The Integrated Debugger

7 The Integrated Debugger 7 The Integrated Debugger Your skill set for writing programs would not be complete without knowing how to use a debugger. While a debugger is traditionally associated with finding bugs, it can also be

More information

Parallel Debugging. ª Objective. ª Contents. ª Learn the basics of debugging parallel programs

Parallel Debugging. ª Objective. ª Contents. ª Learn the basics of debugging parallel programs ª Objective ª Learn the basics of debugging parallel programs ª Contents ª Launching a debug session ª The Parallel Debug Perspective ª Controlling sets of processes ª Controlling individual processes

More information

Section 1 AVR Studio User Guide

Section 1 AVR Studio User Guide Section 1 AVR Studio User Guide 1.1 Introduction Welcome to AVR Studio from Atmel Corporation. AVR Studio is a Development Tool for the AVR family of microcontrollers. This manual describes the how to

More information

1. Managing Information in Table

1. Managing Information in Table 1. Managing Information in Table Spreadsheets are great for making lists (such as phone lists, client lists). The researchers discovered that not only was list management the number one spreadsheet activity,

More information

GETTING STARTED WITH ECLIPSE Caitrin Armstrong

GETTING STARTED WITH ECLIPSE Caitrin Armstrong GETTING STARTED WITH ECLIPSE Caitrin Armstrong 1 THE ECLIPSE IDE IDE = Integrated Development Environment Language-neutral: Java, C, HTML, Powerful, advanced features that help with code development (e.g.

More information

Word 2007 Tables Part 2

Word 2007 Tables Part 2 Word 2007 Tables Part 2 In this lesson you will learn to use formulas within tables, change the size and positions of a tables, convert information from table form to text form and vice versa, insert clipart

More information

Introduction Key features User levels Learning di Monitoring C H A P T E R 1: Using di Monitoring as a Normal User...

Introduction Key features User levels Learning di Monitoring C H A P T E R 1: Using di Monitoring as a Normal User... r4 Contents Introduction... 3 Key features... 3 User levels... 3 Learning di Monitoring... 4 C H A P T E R 1: Using di Monitoring as a Normal User... 5 Accessing di Monitoring... 5 di Monitoring user interface...

More information

Watch the video below to learn more about number formats in Excel. *Video removed from printing pages. Why use number formats?

Watch the video below to learn more about number formats in Excel. *Video removed from printing pages. Why use number formats? Excel 2016 Understanding Number Formats What are number formats? Whenever you're working with a spreadsheet, it's a good idea to use appropriate number formats for your data. Number formats tell your spreadsheet

More information

12/14/2016. Errors. Debugging and Error Handling. Run-Time Errors. Debugging in C# Debugging in C# (continued)

12/14/2016. Errors. Debugging and Error Handling. Run-Time Errors. Debugging in C# Debugging in C# (continued) Debugging and Error Handling Debugging methods available in the ID Error-handling techniques available in C# Errors Visual Studio IDE reports errors as soon as it is able to detect a problem Error message

More information

Getting Started in Assembly Programming with Keil uvision and MSP432

Getting Started in Assembly Programming with Keil uvision and MSP432 Getting Started in Assembly Programming with Keil uvision and MSP432 This tutorial is written on uvision v5.15 and Texas Instruments MSP432 LaunchPad. Assembly Programming with MSP432 MSP432 has an ARM

More information

C Programming in Atmel Studio 7 Step by Step Tutorial

C Programming in Atmel Studio 7 Step by Step Tutorial C Programming in Atmel Studio 7 Step by Step Tutorial Sepehr Naimi NicerLand.com 1/1/017 Contents Introduction... Downloading and Installing Atmel Studio... 3 Opening Atmel Studio... 3 Creating the first

More information

Eclipse Tutorial. For Introduction to Java Programming By Y. Daniel Liang

Eclipse Tutorial. For Introduction to Java Programming By Y. Daniel Liang Eclipse Tutorial For Introduction to Java Programming By Y. Daniel Liang This supplement covers the following topics: Getting Started with Eclipse Choosing a Perspective Creating a Project Creating a Java

More information

SAS Tricks and Techniques From the SNUG Committee. Bhupendra Pant University of Western Sydney College

SAS Tricks and Techniques From the SNUG Committee. Bhupendra Pant University of Western Sydney College SAS Tricks and Techniques From the SNUG Committee Bhupendra Pant University of Western Sydney College SAS Tricks and Techniques 1.Data Set Debugger in DMS 2.Recovering your SAS code from EG 3.Creating

More information

Rio Hondo Prep Computer Applications Class

Rio Hondo Prep Computer Applications Class Open up document 10-1 (this is the one you worked on in the previous assignment). It should look like this: We have one column that is blank; the Avg Speed (this leg), column C. The formula for C2 is pretty

More information

Code::Blocks Student Manual

Code::Blocks Student Manual Code::Blocks Student Manual Lawrence Goetz, Network Administrator Yedidyah Langsam, Professor and Theodore Raphan, Distinguished Professor Dept. of Computer and Information Science Brooklyn College of

More information

NetBeans Tutorial. For Introduction to Java Programming By Y. Daniel Liang. This tutorial applies to NetBeans 6, 7, or a higher version.

NetBeans Tutorial. For Introduction to Java Programming By Y. Daniel Liang. This tutorial applies to NetBeans 6, 7, or a higher version. NetBeans Tutorial For Introduction to Java Programming By Y. Daniel Liang This tutorial applies to NetBeans 6, 7, or a higher version. This supplement covers the following topics: Getting Started with

More information

Debugging Code in Access 2002

Debugging Code in Access 2002 0672321025 AppA 10/24/01 3:53 PM Page 1 Debugging Code in Access 2002 APPENDIX A IN THIS APPENDIX Setting the Correct Module Options for Maximum Debugging Power 2 Using the Immediate Window 6 Stopping

More information

Starting Embedded C Programming CM0506 Small Embedded Systems

Starting Embedded C Programming CM0506 Small Embedded Systems Starting Embedded C Programming CM0506 Small Embedded Systems Dr Alun Moon 19th September 2016 This exercise will introduce you to using the development environment to compile, build, downnload, and debug

More information

Using Common Features of Microsoft Office Explore Microsoft Office Start programs and switch between them. Tutorial 1

Using Common Features of Microsoft Office Explore Microsoft Office Start programs and switch between them. Tutorial 1 Using Common Features of Microsoft Office 2003 Tutorial 1 1 Explore Microsoft Office 2003 Microsoft Office 2003, or Office, is a collection of the most popular Microsoft programs. These programs share

More information

Objective: Class Activities

Objective: Class Activities Objective: A Pivot Table is way to present information in a report format. The idea is that you can click drop down lists and change the data that is being displayed. Students will learn how to group data

More information

This lesson is part 5 of 5 in a series. You can go to Invoice, Part 1: Free Shipping if you'd like to start from the beginning.

This lesson is part 5 of 5 in a series. You can go to Invoice, Part 1: Free Shipping if you'd like to start from the beginning. Excel Formulas Invoice, Part 5: Data Validation "Oh, hey. Um we noticed an issue with that new VLOOKUP function you added for the shipping options. If we don't type the exact name of the shipping option,

More information

Excel Advanced

Excel Advanced Excel 2016 - Advanced LINDA MUCHOW Alexandria Technical & Community College 320-762-4539 lindac@alextech.edu Table of Contents Macros... 2 Adding the Developer Tab in Excel 2016... 2 Excel Macro Recorder...

More information

Excel For Algebra. Conversion Notes: Excel 2007 vs Excel 2003

Excel For Algebra. Conversion Notes: Excel 2007 vs Excel 2003 Excel For Algebra Conversion Notes: Excel 2007 vs Excel 2003 If you re used to Excel 2003, you re likely to have some trouble switching over to Excel 2007. That s because Microsoft completely reworked

More information

Debug for GDB Users. Action Description Debug GDB $debug <program> <args> >create <program> <args>

Debug for GDB Users. Action Description Debug GDB $debug <program> <args> >create <program> <args> Page 1 of 5 Debug for GDB Users Basic Control To be useful, a debugger must be capable of basic process control. This functionally allows the user to create a debugging session and instruct the process

More information

file://c:\documents and Settings\degrysep\Local Settings\Temp\~hh607E.htm

file://c:\documents and Settings\degrysep\Local Settings\Temp\~hh607E.htm Page 1 of 18 Trace Tutorial Overview The objective of this tutorial is to acquaint you with the basic use of the Trace System software. The Trace System software includes the following: The Trace Control

More information

JCreator. Starting JCreator

JCreator. Starting JCreator 1 of 12 9/29/2005 2:31 PM JCreator JCreator is a commercial Java environment available from http://www.jcreator.com. Inexpensive academic licenses and a free "limited edition" are available. JCreator runs

More information

MPLAB X Debugging Techniques

MPLAB X Debugging Techniques TLS0102-002 MPLAB X Debugging Techniques Breakpoints Author: Rob Ostapiuk, Stu Chandler Microchip Technology Objectives! Describe the four fundamental types of breakpoints! Describe the differences between

More information

An Introduction to Tilde

An Introduction to Tilde An Introduction to Tilde Presentation on a FOSS tool for Lua development By Andrew Bailey, CTO, Tantalus & Allen Weeks, Lead Programmer, Tantalus. mailto:andrew@tantalus.com.au mailto:aweeks@tantalus.com.au

More information

Manual Calculation Definition Excel Shortcut Keyboard

Manual Calculation Definition Excel Shortcut Keyboard Manual Calculation Definition Excel Shortcut Keyboard Pressing Esc on your keyboard will allow you to exit Excel formula editing. If you have set your Excel formulas to calculate manually, and want to

More information

Watch the video below to learn more about creating formulas in Excel. *Video removed from printing pages. Mathematical operators

Watch the video below to learn more about creating formulas in Excel. *Video removed from printing pages. Mathematical operators Excel 2016 Intro to Formulas Introduction One of the most powerful features in Excel is the ability to calculate numerical information using formulas. Just like a calculator, Excel can add, subtract, multiply,

More information

THE RISK EXPLORER USER GUIDE

THE RISK EXPLORER USER GUIDE THE RISK EXPLORER USER GUIDE This user guide provides an overview of the Risk Explorer tool contained within the Guide to Project Evaluation Series. The Risk Explorer is an Excel Visual Basic for Applications

More information

Chapter 12 Visual Program Debugger

Chapter 12 Visual Program Debugger Chapter 12 Visual Program Debugger In the previous chapter on programs a section titled Getting programs to do what you want discussed using the log to trace how programs execute. That is a useful technique

More information

HPCC - Hrothgar. Getting Started User Guide TotalView. High Performance Computing Center Texas Tech University

HPCC - Hrothgar. Getting Started User Guide TotalView. High Performance Computing Center Texas Tech University HPCC - Hrothgar Getting Started User Guide TotalView High Performance Computing Center Texas Tech University HPCC - Hrothgar 2 Table of Contents *This user guide is under development... 3 1. Introduction...

More information

The CHEMCAD Interface

The CHEMCAD Interface Chapter 3 The CHEMCAD Interface With the release of Version 6.0, the CHEMCAD interface has undergone quite a transformation. For this reason, even long time users of CHEMCAD will benefit from a review

More information

1. Right-click the worksheet tab you want to rename. The worksheet menu appears. 2. Select Rename.

1. Right-click the worksheet tab you want to rename. The worksheet menu appears. 2. Select Rename. Excel 2010 Worksheet Basics Introduction Page 1 Every Excel workbook contains at least one or more worksheets. If you are working with a large amount of related data, you can use worksheets to help organize

More information

TestPartner. Getting Started with Visual Tests

TestPartner. Getting Started with Visual Tests TestPartner Getting Started with Visual Tests Borland Software Corporation 4 Hutton Centre Dr., Suite 900 Santa Ana, CA 92707 Copyright 2010 Micro Focus (IP) Limited. All Rights Reserved. TestPartner contains

More information

In our first lecture on sets and set theory, we introduced a bunch of new symbols and terminology.

In our first lecture on sets and set theory, we introduced a bunch of new symbols and terminology. Guide to and Hi everybody! In our first lecture on sets and set theory, we introduced a bunch of new symbols and terminology. This guide focuses on two of those symbols: and. These symbols represent concepts

More information

Introduction. Rehearse and Record Slide Shows. Advanced Presentation Options. Rehearsing Slide Show Timings. Page 1

Introduction. Rehearse and Record Slide Shows. Advanced Presentation Options. Rehearsing Slide Show Timings. Page 1 Advanced Presentation Options Introduction Page 1 There are many things to keep in mind when giving a presentation. How long will your presentation last? What will you say? If you're not in the same location

More information

Excel 2007/2010. Don t be afraid of PivotTables. Prepared by: Tina Purtee Information Technology (818)

Excel 2007/2010. Don t be afraid of PivotTables. Prepared by: Tina Purtee Information Technology (818) Information Technology MS Office 2007/10 Users Guide Excel 2007/2010 Don t be afraid of PivotTables Prepared by: Tina Purtee Information Technology (818) 677-2090 tpurtee@csun.edu [ DON T BE AFRAID OF

More information

THE EXCEL ENVIRONMENT... 1 EDITING...

THE EXCEL ENVIRONMENT... 1 EDITING... Excel Essentials TABLE OF CONTENTS THE EXCEL ENVIRONMENT... 1 EDITING... 1 INSERTING A COLUMN... 1 DELETING A COLUMN... 1 INSERTING A ROW... DELETING A ROW... MOUSE POINTER SHAPES... USING AUTO-FILL...

More information

HOW TO USE CODE::BLOCKS IDE FOR COMPUTER PROGRAMMING LABORATORY SESSIONS

HOW TO USE CODE::BLOCKS IDE FOR COMPUTER PROGRAMMING LABORATORY SESSIONS HOW TO USE CODE::BLOCKS IDE FOR COMPUTER PROGRAMMING LABORATORY SESSIONS INTRODUCTION A program written in a computer language, such as C/C++, is turned into executable using special translator software.

More information

Use of in-built functions and writing expressions

Use of in-built functions and writing expressions LECTURE SCHEDULE 9 Use of in-built functions and writing expressions In-built Functions A function is an in-built program, which is used to do a particular task. Functions take the input the input and

More information

Laboratory Assignment #4 Debugging in Eclipse CDT 1

Laboratory Assignment #4 Debugging in Eclipse CDT 1 Lab 4 (10 points) November 20, 2013 CS-2301, System Programming for Non-majors, B-term 2013 Objective Laboratory Assignment #4 Debugging in Eclipse CDT 1 Due: at 11:59 pm on the day of your lab session

More information

1.2 - Introduction to the IAR Workbench IDE *

1.2 - Introduction to the IAR Workbench IDE * OpenStax-CNX module: m13621 1 1.2 - Introduction to the IAR Workbench IDE * Naren Anand Based on Introduction to CrossStudio MSP430 IDE by Kileen Cheng This work is produced by OpenStax-CNX and licensed

More information

Step through Your DATA Step: Introducing the DATA Step Debugger in SAS Enterprise Guide

Step through Your DATA Step: Introducing the DATA Step Debugger in SAS Enterprise Guide SAS447-2017 Step through Your DATA Step: Introducing the DATA Step Debugger in SAS Enterprise Guide ABSTRACT Joe Flynn, SAS Institute Inc. Have you ever run SAS code with a DATA step and the results are

More information

IFS Data Migration Excel Add-In

IFS Data Migration Excel Add-In IFS Data Migration Excel Add-In User Manual for IFS Data Migration Excel Add-In Contents Figures... 2 1 IFS Data Migration Excel Add-In... 2 1.1 Overview... 3 2 User Interface... 3 2.1 Ribbon... 3 2.2

More information

Debugging the Solver How to Ask for Solver Help!

Debugging the Solver How to Ask for Solver Help! Debugging the Solver How to Ask for Solver Help! This document was from the Discussion Forum post by NaN-2K, Community TA Extraordinaire.. List of KNOWN problems: (1) The Linear solver in Excel 2007 may

More information

Debugging and Handling Exceptions

Debugging and Handling Exceptions 12 Debugging and Handling Exceptions C# Programming: From Problem Analysis to Program Design C# Programming: From Problem Analysis to Program Design 1 4th Edition Chapter Objectives Learn about exceptions,

More information

Debugging Techniques. CEFET Engineering Week

Debugging Techniques. CEFET Engineering Week Debugging Techniques CEFET Engineering Week Petrópolis, May 10 th 2017 Luís Tarrataca 1 Luís Tarrataca CEFET Engineering Week (Luís Tarrataca 8:00): Debugging Techniques Task 1 It is expected that course

More information

concrete5 editing cheat sheet

concrete5 editing cheat sheet concrete5 editing cheat sheet Welcome to concrete5. This document tells you what you need to know to start editing and updating your website. 1. Logging in Before you can make any changes to your website,

More information

STM32 Ecosystem Workshop. T.O.M.A.S Team

STM32 Ecosystem Workshop. T.O.M.A.S Team STM32 Ecosystem Workshop T.O.M.A.S Team After successful code generation by STM32CubeMX this is the right time to import it into SW4STM32 toolchain for further processing 2 Handling the project in SW4STM32

More information

Microsoft Visual Basic Code Execution Has Been Interrupted Error

Microsoft Visual Basic Code Execution Has Been Interrupted Error Microsoft Visual Basic Code Execution Has Been Interrupted Error "error 40002 01000:(Microsoft)(ODBC SQL Server Driver)(SQL Server)Statement has been termineted." Also this is while trying to open a crystal

More information

1 Introduction to MARS

1 Introduction to MARS 1 Introduction to MARS 1.1 Objectives After completing this lab, you will: Get familiar with the MARS simulator Learn how to assemble, run, and debug a MIPS program 1.2 The MARS Simulator MARS, the MIPS

More information

1.1 Considering for Choosing Layout in SmartArt Graphics

1.1 Considering for Choosing Layout in SmartArt Graphics 1. SmartArt A SmartArt graphic is a visual representation of your information that you can quickly and easily create, choosing from among many different layouts, to effectively communicate your message

More information

Installation & Operating Instructions Macro Naming Version 1.0

Installation & Operating Instructions Macro Naming Version 1.0 Malerzów, April 28, 2013 Installation & Operating Instructions Macro Naming Version 1.0 1. Preliminary remarks This document is a simplified installation & operating guide for Macro Naming version 1.0

More information

ECE QNX Real-time Lab

ECE QNX Real-time Lab Department of Electrical & Computer Engineering Concordia University ECE QNX Real-time Lab User Guide Dan Li 9/12/2011 User Guide of ECE Real-time QNX Lab Contents 1. About Real-time QNX Lab... 2 Contacts...

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

An Introduction to Komodo

An Introduction to Komodo An Introduction to Komodo The Komodo debugger and simulator is the low-level debugger used in the Digital Systems Laboratory. Like all debuggers, Komodo allows you to run your programs under controlled

More information

Compile your code using ncvhdl. This is the way to compile comp_const.vhd:! "#$ %" #&'

Compile your code using ncvhdl. This is the way to compile comp_const.vhd:! #$ % #&' Tools: This short document describes the most basic knowledge needed to perform verification using Specman and NCSim. If you encounter any errors, problems or feel something is missing, don't hesitate

More information

Excel Tips for Compensation Practitioners Weeks Data Validation and Protection

Excel Tips for Compensation Practitioners Weeks Data Validation and Protection Excel Tips for Compensation Practitioners Weeks 29-38 Data Validation and Protection Week 29 Data Validation and Protection One of the essential roles we need to perform as compensation practitioners is

More information

Chapter 11 Running the Model

Chapter 11 Running the Model CHAPTER CONTENTS Simulation Menu 568 Section 1 Simulation Options...569 General Options & Settings 570 Output Reporting Options 572 Running a Specific Replication 574 Customized Reporting 574 Section 2

More information

SPREADSHEET (Excel 2007)

SPREADSHEET (Excel 2007) SPREADSHEET (Excel 2007) 1 U N I T 0 4 BY I F T I K H A R H U S S A I N B A B U R Spreadsheet Microsoft Office Excel 2007 (or Excel) is a computer program used to enter, analyze, and present quantitative

More information

Project Debugging with MDK-ARM

Project Debugging with MDK-ARM Project Debugging with MDK-ARM Notes: This document assumes MDK-ARM Version 5.xx (µvision5 ) is installed with the required ST-Link USB driver, device family pack (STM32F4xx for STM32F4-Discovery board;

More information

Excel Tips and Tricks

Excel Tips and Tricks Excel Tips and Tricks References Excel Annoyances - Curtis Frye Excel Hacks - O Reilly http://www.exceltip.com (Joseph Rubin) http://exceltips.vitalnews.com/ (Allen Wyatt) Some Excel Basics as well as

More information

If the list that you want to name will change In Excel 2007 and later, the easiest way to create.

If the list that you want to name will change In Excel 2007 and later, the easiest way to create. Guide Of Excel 2007 In A List Create Named Range The tutorial demonstrates 4 quick ways to create an Excel drop down list - based on a 3-step way to create a drop-down box in all versions of Excel 2013,

More information

MPLAB SIM. MPLAB IDE Software Simulation Engine Microchip Technology Incorporated MPLAB SIM Software Simulation Engine

MPLAB SIM. MPLAB IDE Software Simulation Engine Microchip Technology Incorporated MPLAB SIM Software Simulation Engine MPLAB SIM MPLAB IDE Software Simulation Engine 2004 Microchip Technology Incorporated MPLAB SIM Software Simulation Engine Slide 1 Welcome to this web seminar on MPLAB SIM, the software simulator that

More information

Introduction to Excel 2013

Introduction to Excel 2013 Introduction to Excel 2013 Copyright 2014, Software Application Training, West Chester University. A member of the Pennsylvania State Systems of Higher Education. No portion of this document may be reproduced

More information

April 4, 2001: Debugging Your C24x DSP Design Using Code Composer Studio Real-Time Monitor

April 4, 2001: Debugging Your C24x DSP Design Using Code Composer Studio Real-Time Monitor 1 This presentation was part of TI s Monthly TMS320 DSP Technology Webcast Series April 4, 2001: Debugging Your C24x DSP Design Using Code Composer Studio Real-Time Monitor To view this 1-hour 1 webcast

More information

Code::Blocks Student Manual

Code::Blocks Student Manual Code::Blocks Student Manual Lawrence Goetz, Network Administrator Yedidyah Langsam, Professor and Theodore Raphan, Distinguished Professor Dept. of Computer and Information Science Brooklyn College of

More information

Document Collaboration

Document Collaboration for Microsoft Word 97/98 Document collaboration is a term which refers to the development and review process to create a document by multiple individuals. Prepare a document for review With Microsoft Word,

More information

Excel 2013 Intermediate

Excel 2013 Intermediate Excel 2013 Intermediate Quick Access Toolbar... 1 Customizing Excel... 2 Keyboard Shortcuts... 2 Navigating the Spreadsheet... 2 Status Bar... 3 Worksheets... 3 Group Column/Row Adjusments... 4 Hiding

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

Introduction. Key features and lab exercises to familiarize new users to the Visual environment

Introduction. Key features and lab exercises to familiarize new users to the Visual environment Introduction Key features and lab exercises to familiarize new users to the Visual environment January 1999 CONTENTS KEY FEATURES... 3 Statement Completion Options 3 Auto List Members 3 Auto Type Info

More information

Learning Excel VBA. Creating User Defined Functions. ComboProjects. Prepared By Daniel Lamarche

Learning Excel VBA. Creating User Defined Functions. ComboProjects. Prepared By Daniel Lamarche Learning Excel VBA Creating User Defined Functions Prepared By Daniel Lamarche ComboProjects Creating User Defined Functions By Daniel Lamarche (Last update January 2016). User Defined Functions or UDFs

More information

Excel. Spreadsheet functions

Excel. Spreadsheet functions Excel Spreadsheet functions Objectives Week 1 By the end of this session you will be able to :- Move around workbooks and worksheets Insert and delete rows and columns Calculate with the Auto Sum function

More information

version staff had them to share viewing this this user guide. >Reports, as Logging In the SQL login User Name for your district. perform the guides.

version staff had them to share viewing this this user guide. >Reports, as Logging In the SQL login User Name for your district. perform the guides. This report is available for use by all administrative and teaching staff. Data presented in the report is organized by teacher s rosters. The report has been shown to several districts and the teaching

More information