Do Until Loop in Excel VBA with Examples

Size: px
Start display at page:

Download "Do Until Loop in Excel VBA with Examples"

Transcription

1 The Do Until Loop Structure is utilized, when one has a set of statements or actions to be repeated and repetition occurs until the condition evaluates to true, in other words, while the condition is false the repetition occurs. We can also evaluate more than one condition using the Or keyword in our Do Until Loop. So, let s see how to use the Do Until Loop Structure in our VBA code. Table of Contents 0.1 Using the Do Until Loop 0.2 Download Working File 0.3 Conclusion 1 Review Section: Test your Understanding 1.1 Useful Links Using the Do Until Loop Cassava is a shrub-like vegetable. Its roots are a major source of carbohydrates and it is consumed in the developing world as a major staple food. While the cassava root contains important nutritional compounds, such as starch and trace amounts of Phosphorous and Calcium, raw bitter cassava can also be a source of cyanide. Raw bitter cassava contains cyanogenic glycosides, which are capable of releasing cyanide into the human body when consumed. This is a cause for concern when large amounts of cassava, is eaten or if it is not prepared properly. Some of the preparation methods involve extensive soaking, dewatering, ensiling and drying in order to reduce the levels of potentially toxic cyanide. In our source example, a hypothetical research lab is evaluating different processes to reduce the levels of cyanide in the cassava root samples/cultivars obtained. The ultimate aim of the research lab is to make a scientific contribution to food security in the developing world, through cassava research and reduction of cyanide levels. There are three teams in the lab, and each team has been given a different cyanide reduction process to optimize. Each of the processes contains ten steps, and after each purification/extraction/filtration step, the amount of cyanide remaining is measured. The maximum safe intake of HCN per kg of human body weight is 10 mg. We want to use the data from these trial experiments to see where in future to stop the experimental run. The source data is shown below. All rights reserved to ExcelDemy.com. 1

2 All rights reserved to ExcelDemy.com. 2

3 All rights reserved to ExcelDemy.com. 3

4 1) So, first things first go to the Visual Basic Editor (VBE) by going to Developer>Code>Visual Basic or by pressing Alt-F11 on your keyboard. All rights reserved to ExcelDemy.com. 4

5 2) Once in the VBE, go to Insert>Module. All rights reserved to ExcelDemy.com. 5

6 3) A new module is created. 4) Click on the module and type the following code. Sub DoUntilLoopExample() Dim valueofinterest As Integer Range( B8 ).Select Do Until ActiveCell.Value <= 10 Or ActiveCell.Value = valueofinterest = ActiveCell.Value If valueofinterest > 10 Then All rights reserved to ExcelDemy.com. 6

7 ActiveCell.Offset(0, 1).Value = Yes, Continue End If ActiveCell.Offset(1, 0).Select Loop End Sub The first thing we are doing with this code is declaring a variable of the integer data type. We then select cell B8 in the worksheet. Cell B8 is the first cell in the data entry column. This column records the amount of cyanide remaining in the cultivar after the Step at hand. We then open the Loop Structure and state that until the Active cell value is 10 or less or the Active cell value is blank, the statements in the loop should be repeated. In other words, the statements in the code should be executed as long as the conditions are false, once they are true, the statements stop being executed. In addition, we are also using two conditions in our Do Until Loop. The first condition is about the actual experiment at hand, we are saying that the statements in the loop should be repeated until the ActiveCell value is 10 or less. The other condition states that if the ActiveCell value is blank, we should stop repeating the statements. The second condition stops us from creating an infinite loop. In terms of our source example, if the valueofinterest, i.e the variable that is storing the amount of cyanide content is greater than 10 mg, then the experiment must continue and all the steps involved in the experimental design must continue. If the valueofinterest i.e the HCN content is 10 mg or less, the experiment must stop, since then we have reached our ideal HCN content. The code then specifies that in the cell next to the ActiveCell, the value of Yes, Continue is input, in order to indicate that we should proceed with the other experimental steps in future if the content is greater than 10 mg. In this way, we are setting up a loop to indicate how far along to proceed with the experiment (also when to stop), thus contributing to a more effective experimental design and overall cost efficiency. Since lab chemicals and processes can be very expensive and adding additional steps to experimental design, when not necessary, decreases the economic feasibility of the project. Also, the addition of unnecessary steps increases ultimately, the potential rejection of an application to turn a lab project into a pilot scale project. 5) We now want to add a button for our macro to our Quick Access Toolbar, in order for us to access it from there. 6) Click on the drop-down arrow on the Quick Access Toolbar and select More Commands All rights reserved to ExcelDemy.com. 7

8 7) The Excel Options dialog box should appear, in the Choose Commands from: dropdown select Macros and you should see the macro you created, the name is drawn from the name used in the Sub Procedure. All rights reserved to ExcelDemy.com. 8

9 8) In the Customize Quick Access Toolbar section, change the option from the default For all documents to the workbook or macro-enabled workbook at hand as shown below. All rights reserved to ExcelDemy.com. 9

10 9) Then select the macro, we created called DoUntilLoopExample and press the Add button in order to add it to the Quick Access Toolbar for this specific macro-enabled workbook only. All rights reserved to ExcelDemy.com. 10

11 10) With the macro selected, choose Modify, now you can choose a button to represent your macro on the Quick Access Toolbar, in this case, we ll choose a smiley face, and change the Display Name to Food Security Macro as shown below. All rights reserved to ExcelDemy.com. 11

12 11) Click Ok. All rights reserved to ExcelDemy.com. 12

13 12) Click Ok again. The button for our macro is now added to the Quick Access Toolbar. All rights reserved to ExcelDemy.com. 13

14 13) Once the hypothetical data has been filled in, in terms of the mg of HCN left over after each step for each Team/process in Column B, go to the sheet called ProcessOne and click on the button for the macro on the Quick Access Toolbar in order to run the code. Since these are our trial experimental runs, we input all the data obtained, in column B. All rights reserved to ExcelDemy.com. 14

15 By running the macro, we can see for Process One/Team 1 the enzyme cocktail yielded what we wanted i.e 10 mg or less of HCN at Step Nine. Thus in future, we could stop after Step 9, and do not need to continue beyond this point. 14) We can then go to the ProcessTwo sheet with the hypothetical data filled in, and then click on the button to run the macro from the Quick Access Toolbar. By running the macro we can see, that the ProcessTwo sheet s experimental runs did not yield 10 mg or below for the entire set of steps encompassed, in the experimental run. We would, therefore, have to optimize the alkali procedure and perhaps try different temperatures in conjunction with the same base or different bases in order to optimize the experimental design in future. All rights reserved to ExcelDemy.com. 15

16 15) We now go to the ProcessThree sheet and click on the button to run the macro, once we have filled in all the data for the trial experiment. All rights reserved to ExcelDemy.com. 16

17 We can see that after Step Five, we could stop running the experiment since the desired reduction was obtained. Our Results in Context: When evaluating the trials, Process One (the enzymatic cocktail) method of reducing HCN content in the cassava cultivar, Process Two (the alkali) method of reducing HCN content in the cassava cultivar and Process Three (the acidic) method of reducing HCN content in the cassava cultivar, we can see that Process Three was the most effective. Using our macro, we were able to determine that we could stop the experimental run after Step Five in Process Three, whereas we only achieved the desired cyanide All rights reserved to ExcelDemy.com. 17

18 reduction after Step Nine with Process One, and Process Two did not yield the desired cyanide reduction for the entire experimental run with all the steps. We could also add more sheets, detailing the results from other processes such as nanotechnological processes or processes using supercritical fluid cocktails. We could also add results from other labs using other or the exact same processes, in our workbook, for comparative analysis. However, we have to ensure that the data is laid out and entered exactly in the same way as the other worksheets. In other words a three column range, and cell B8 being the point of data entry, since cell B8 is specified in the macro as well. And there you have it. Download Working File Do-Until-Loops-Excel Conclusion The Do Until Loop Structure is utilized when one wants to repeat statements or actions, as long as a certain specified condition evaluates to false. The action is repeated until the condition evaluates to true. Please feel free to tell us if you use the Do Until Loop Structure in your VBA code and your thoughts about cassava as a food source. Review Section: Test your Understanding 1) When does one use a Do Until Loop? 2) Using a Do Until Loop, fill each cell in a range containing data, with a blue fill, up until one reaches a blank cell. Useful Links Do Until Loop Cassava Top Ten Most Dangerous Foods 4 SHARES FacebookTwitter Taryn N Taryn is a Microsoft Certified Professional, who has used Office Applications such as Excel and Access extensively, in her interdisciplinary academic career and work experience. She All rights reserved to ExcelDemy.com. 18

19 has a background in biochemistry, Geographical Information Systems (GIS) and biofuels. She enjoys showcasing the functionality of Excel in various disciplines. In her spare time when she s not exploring Excel or Access, she is into graphic design, amateur photography and caring for her two pets, Pretzel and Snoopy. All rights reserved to ExcelDemy.com. 19

How to Use Do While Loop in Excel VBA

How to Use Do While Loop in Excel VBA We have already covered an introduction to looping and the simplest type of loops, namely the For Next Loop and the For Each Next Loop, in previous tutorials. We discovered that the For Next Loop and the

More information

How to Create a For Next Loop in Excel VBA!

How to Create a For Next Loop in Excel VBA! Often when writing VBA code, one may need to repeat the same action or series of actions more than a couple of times. One could, in this case, write each action over and over in one s code or alternatively

More information

How to Use the Select Case Structure in Excel VBA

How to Use the Select Case Structure in Excel VBA One can implement conditional logic in VBA using an IF statement, multiple IF-Elseif statements or one can use the Select Case statement in order to implement conditional logic. In the case where one has

More information

Read More: Index Function Excel [Examples, Make Dynamic Range, INDEX MATCH]

Read More: Index Function Excel [Examples, Make Dynamic Range, INDEX MATCH] You can utilize the built-in Excel Worksheet functions such as the VLOOKUP Function, the CHOOSE Function and the PMT Function in your VBA code and applications as well. In fact, most of the Excel worksheet

More information

So let s get started with a simple example to illustrate the difference between the worksheet level protection and workbook level protection.

So let s get started with a simple example to illustrate the difference between the worksheet level protection and workbook level protection. It is often necessary to protect either the sensitive information in one s actual worksheet or the workbook structure, from being edited. Excel provides different options for protecting and securing one

More information

MAX vs MAXA vs LARGE and MIN vs MINA vs SMALL Functions in Excel

MAX vs MAXA vs LARGE and MIN vs MINA vs SMALL Functions in Excel provides functions to calculate the largest or maximum value in a range and also functions to calculate the smallest or minimum value in a range. The first function we are going to look at is the MAX Function.

More information

Changing Case using Worksheet Functions and Excel VBA

Changing Case using Worksheet Functions and Excel VBA Excel provides the text worksheet functions, namely the Upper Function, the Lower Function and the Proper Function, which can change the case of a specified input text string. This text string could be

More information

Read More: How to Make Excel Graphs Look Professional & Cool [10 Awesome Tips]!

Read More: How to Make Excel Graphs Look Professional & Cool [10 Awesome Tips]! How to Modify Color, Font, & Effects & Create Custom Excel Excel has themes, which have different default colors, auto shape effects, SmartArt effects, and fonts. When utilizing themes one can quickly

More information

Exchange (Copy, Import, Export) Data Between Excel and Access

Exchange (Copy, Import, Export) Data Between Excel and Access Excel usage is widespread and Excel is often the go-to Office application for data entry, analysis, and manipulation. Microsoft Access provides relational database capability in a compact desktop environment.

More information

Read More: How to Make a Pie Chart in Excel [Video Tutorial]

Read More: How to Make a Pie Chart in Excel [Video Tutorial] Most of us are familiar with standard Excel chart types such as a pie chart, a column chart, and a line chart, as well as the types of data they are used to showcase visually. Excel, however, offers a

More information

Read More: How to Create Combination Charts with a Secondary Axis in Excel

Read More: How to Create Combination Charts with a Secondary Axis in Excel A pie chart is used to showcase parts of a whole or proportions of a whole. Charts are visual representations of data that can summarize large data sets and are useful for engaging one s audience. As always,

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

Introduction to macros

Introduction to macros L E S S O N 7 Introduction to macros Suggested teaching time 30-40 minutes Lesson objectives To understand the basics of creating Visual Basic for Applications modules in Excel, you will: a b c Run existing

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

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

Structured Solutions Inc. Tools MS Project to Excel Export/Import Tools

Structured Solutions Inc. Tools MS Project to Excel Export/Import Tools Structured Solutions Inc. Tools MS Project to Excel Export/Import Tools This Macro Enabled Excel workbook contains a collection of useful tools that enables the user to Get, Post or Lookup data from MS

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

Microsoft Excel 2007 Macros and VBA

Microsoft Excel 2007 Macros and VBA Microsoft Excel 2007 Macros and VBA With the introduction of Excel 2007 Microsoft made a number of changes to the way macros and VBA are approached. This document outlines these special features of Excel

More information

You can record macros to automate tedious

You can record macros to automate tedious Introduction to Macros You can record macros to automate tedious and repetitive tasks in Excel without writing programming code directly. Macros are efficiency tools that enable you to perform repetitive

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

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

Microsoft Power Tools for Data Analysis #5 Power Query: Append All Tables in Current Workbook Notes from Video:

Microsoft Power Tools for Data Analysis #5 Power Query: Append All Tables in Current Workbook Notes from Video: Microsoft Power Tools for Data Analysis #5 Power Query: Append All Tables in Current Workbook Notes from Video: Table of Contents: 1. Goal of Video... 3 2. Each Excel Table on New Sheet... 3 3. What does

More information

Advanced Financial Modeling Macros. EduPristine

Advanced Financial Modeling Macros. EduPristine Advanced Financial Modeling Macros EduPristine www.edupristine.com/ca Agenda Introduction to Macros & Advanced Application Building in Excel Introduction and context Key Concepts in Macros Macros as recorded

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

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

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

MICROSOFT EXCEL VISUAL BASIC FOR APPLICATIONS INTRODUCTION

MICROSOFT EXCEL VISUAL BASIC FOR APPLICATIONS INTRODUCTION MICROSOFT EXCEL VISUAL BASIC FOR APPLICATIONS INTRODUCTION Welcome! Thank you for choosing WWP as your learning and development provider. We hope that your programme today will be a stimulating, informative

More information

Computer Science Lab Exercise 2

Computer Science Lab Exercise 2 osc 127 Lab 2 1 of 10 Computer Science 127 - Lab Exercise 2 Excel User-Defined Functions - Repetition Statements (pdf) During this lab you will review and practice the concepts that you learned last week

More information

EXCEL WORKSHOP III INTRODUCTION TO MACROS AND VBA PROGRAMMING

EXCEL WORKSHOP III INTRODUCTION TO MACROS AND VBA PROGRAMMING EXCEL WORKSHOP III INTRODUCTION TO MACROS AND VBA PROGRAMMING TABLE OF CONTENTS 1. What is VBA? 2. Safety First! 1. Disabling and Enabling Macros 3. Getting started 1. Enabling the Developer tab 4. Basic

More information

Microsoft MOS-EXP. Microsoft Excel 2002 Core.

Microsoft MOS-EXP. Microsoft Excel 2002 Core. Microsoft MOS-EXP Microsoft Excel 2002 Core http://killexams.com/exam-detail/mos-exp Answer: A, C Cells may be deleted by either selecting Edit, Delete on the Menu bar, or by right-clicking the selected

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

PHLI Instruction (734) Introduction. Lists.

PHLI Instruction (734) Introduction. Lists. INTERMEDIATE EXCEL Introduction Microsoft Excel has many purposes. In addition to being an excellent data manger, Excel provides the means to perform complex analysis and evaluation of data. This brief

More information

Excel Pivot Tables & Macros

Excel Pivot Tables & Macros Excel 2007 Pivot Tables & Macros WORKSHOP DESCRIPTION...1 Overview 1 Prerequisites 1 Objectives 1 WHAT IS A PIVOT TABLE...2 Sample Example 2 PivotTable Terminology 3 Creating a PivotTable 4 Layout of

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

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

CSE 123 Introduction to Computing

CSE 123 Introduction to Computing CSE 123 Introduction to Computing Lecture 6 Programming with VBA (Projects, forms, modules, variables, flowcharts) SPRING 2012 Assist. Prof. A. Evren Tugtas Starting with the VBA Editor Developer/Code/Visual

More information

MaineStreet Financials 8.4

MaineStreet Financials 8.4 MaineStreet Financials 8.4 General Ledger Excel Journal Entry 1 Overview A Journal Entry is used to update the General Ledger for many types of transactions, including cash receipts, transfers of revenue

More information

Visual Streamline FAQ

Visual Streamline FAQ Visual Streamline FAQ How does the Template Import Work? The Template Import routine enables you to import new inventory items, as well as New Supplier List Records, and make changes to existing Inventory

More information

MICROSOFT EXCEL 2000 LEVEL 5 VBA PROGRAMMING INTRODUCTION

MICROSOFT EXCEL 2000 LEVEL 5 VBA PROGRAMMING INTRODUCTION MICROSOFT EXCEL 2000 LEVEL 5 VBA PROGRAMMING INTRODUCTION Lesson 1 - Recording Macros Excel 2000: Level 5 (VBA Programming) Student Edition LESSON 1 - RECORDING MACROS... 4 Working with Visual Basic Applications...

More information

Non-linear regression tutorial

Non-linear regression tutorial Non-linear regression tutorial The following table shows the raw data for performing nonlinear regression using Polymath (refer Table E7-4.1, Elements of chemical reaction engineering, 5 th edition) Pco

More information

Microsoft Word for Report-Writing (2016 Version)

Microsoft Word for Report-Writing (2016 Version) Microsoft Word for Report-Writing (2016 Version) Microsoft Word is a versatile, widely-used tool for producing presentation-quality documents. Most students are well-acquainted with the program for generating

More information

Basic tasks in Excel 2013

Basic tasks in Excel 2013 Basic tasks in Excel 2013 Excel is an incredibly powerful tool for getting meaning out of vast amounts of data. But it also works really well for simple calculations and tracking almost any kind of information.

More information

Microsoft Excel 2013 Comments (Level 3)

Microsoft Excel 2013 Comments (Level 3) IT Training Microsoft Excel 2013 Comments (Level 3) Contents Introduction...1 Adding a Comment to a Cell...1 Displaying Cell Comments...2 Editing a Cell Comment...3 Deleting a Cell Comment...3 Searching

More information

Create a PivotTable. If you prefer to design the PivotTable yourself, you can create a manual PivotTable.

Create a PivotTable. If you prefer to design the PivotTable yourself, you can create a manual PivotTable. Create a PivotTable Excel provides two ways to create a PivotTable report. When you use an automatic PivotTable, Excel evaluates both the structure and kind of data in your range and creates the PivotTable

More information

Tutorial 7. Working With Excel s Editing and Web Tools. Review

Tutorial 7. Working With Excel s Editing and Web Tools. Review Tutorial 7 Working With Excel s Editing and Web Tools Review Worksheet Group changes to one are applied to the entire group (think of all the time you can save!) Using 3D references to refer to cells on

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

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

UNIT 3 INTRODUCTORY MICROSOFT EXCEL LESSON 6 MAKING THE WORKSHEET USEFUL

UNIT 3 INTRODUCTORY MICROSOFT EXCEL LESSON 6 MAKING THE WORKSHEET USEFUL UNIT 3 INTRODUCTORY MICROSOFT EXCEL LESSON 6 MAKING THE WORKSHEET USEFUL Objectives Sort data in a worksheet. Use the AutoFilter to extract specified data from the worksheet. Hide worksheet columns or

More information

Using protection and display options

Using protection and display options L E S S O N 6 Using protection and display options Lesson objectives Suggested teaching time In order to display and protect your worksheet data, you will: 40-50 minutes a b c Create and control comments

More information

PART 7. Getting Started with Excel

PART 7. Getting Started with Excel PART 7 Getting ed with Excel When you start the application, Excel displays a blank workbook. A workbook is a file in which you store your data, similar to a three-ring binder. Within a workbook are worksheets,

More information

Read Me First (Excel 2007)

Read Me First (Excel 2007) Read Me First (Excel 2007) Concrete Mix Evaluator Before installing the CME program please go through these steps to configure your Excel 2007. Open a NEW BLANK Workbook and click on the "Developer " (A)

More information

Top 20 Excel Limitations that might Frustrate You!

Top 20 Excel Limitations that might Frustrate You! Excel is obviously one of the most important products in the world. It is very helpful in managing, analyzing data. But there is also something that may get us frustrated when using Excel. Today I d like

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

File Importing - Text Files

File Importing - Text Files File Importing - Text Files With this tutorial we are going to go through the basic elements of importing a text file that contains several records (lines) each containing several fields. Sample Data -

More information

AC : SPREADSHEET TECHNIQUES FOR ENGINEERING PROFESSORS: THE CASE OF EXCEL AND ENGINEERING ECONOMICS

AC : SPREADSHEET TECHNIQUES FOR ENGINEERING PROFESSORS: THE CASE OF EXCEL AND ENGINEERING ECONOMICS AC 2007-1453: SPREADSHEET TECHNIQUES FOR ENGINEERING PROFESSORS: THE CASE OF EXCEL AND ENGINEERING ECONOMICS John Ristroph, University of Louisiana-Lafayette JOHN H. RISTROPH is an emeritus Professor of

More information

3. (1.0 point) To quickly switch to the Visual Basic Editor, press on your keyboard. a. Esc + F1 b. Ctrl + F7 c. Alt + F11 d.

3. (1.0 point) To quickly switch to the Visual Basic Editor, press on your keyboard. a. Esc + F1 b. Ctrl + F7 c. Alt + F11 d. Excel Tutorial 12 1. (1.0 point) Excel macros are written in the programming language. a. Perl b. JavaScript c. HTML d. VBA 2. (1.0 point) To edit a VBA macro, you need to use the Visual Basic. a. Manager

More information

SESSION 9: Data Entry

SESSION 9: Data Entry Data Entry 74 SESSION 9: Data Entry 9.1 Introduction and general principles for entering data using Excel Excel is a powerful tool to extract meaningful information and insights from the data you have

More information

MICROSOFT EXCEL TUTORIAL HANDOUT

MICROSOFT EXCEL TUTORIAL HANDOUT MICROSOFT EXCEL TUTIAL HANDOUT Opening Microsoft Excel 1. Click on the START button. 2. Click on PROGRAMS. 3. Click on MICROSOFT EXCEL. The Excel Screen Formula Bar Minimize Buttons Restore Buttons Close

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

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

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

Using macros enables you to repeat tasks much

Using macros enables you to repeat tasks much An Introduction to Macros Using macros enables you to repeat tasks much more efficiently than tediously performing each step over and over. A macro is a set of instructions that you use to automate a task.

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

CONTENTS INTRODUCTION... 3 ACCESSING AND MODIFYING FLEX SAMPLES... 4 CREATE AND POPULATE A NEW FLEX DOCUMENT... 6

CONTENTS INTRODUCTION... 3 ACCESSING AND MODIFYING FLEX SAMPLES... 4 CREATE AND POPULATE A NEW FLEX DOCUMENT... 6 CONTENTS INTRODUCTION... 3 ACCESSING AND MODIFYING FLEX SAMPLES... 4 CREATE AND POPULATE A NEW FLEX DOCUMENT... 6 INSERTING ITEMS IN A FLEX DOCUMENT FROM CONTENT EXPLORER... 9 CREATE A QUOTE LIST IN A

More information

Excel Basics 1. Running Excel When you first run Microsoft Excel you see the following menus and toolbars across the top of your new worksheet

Excel Basics 1. Running Excel When you first run Microsoft Excel you see the following menus and toolbars across the top of your new worksheet Excel Basics 1. Running Excel When you first run Microsoft Excel you see the following menus and toolbars across the top of your new worksheet The Main Menu Bar is located immediately below the Program

More information

Integration Office 2003

Integration Office 2003 Integration Office 2003 Table of Contents Copy and Paste... 3 Paste Special... 4 Copying Data from Excel into Word... 5 Copying Charts from Excel into Word... 6 Copying Charts from Excel into PowerPoint...

More information

Microsoft Excel. Good day All,

Microsoft Excel. Good day All, Microsoft Excel Good day All, I am Vikas, Excel professional and experts in developing Excel models to recognized best practice standards. Importantly, I am also a business consultant and therefore understand

More information

Links to Activities ACTIVITY 1.1. Links to Activities Links to Activities

Links to Activities ACTIVITY 1.1. Links to Activities Links to Activities EXCEL Analyzing Data Using Excel Section 1 Skills Start Excel and identify features in the Excel window Enter labels and values Use the fill handle to enter a series Enter formulas Create a formula using

More information

How to Reduce Large Excel File Size (Ultimate Guide)

How to Reduce Large Excel File Size (Ultimate Guide) Handling a large file is important as it takes a huge amount of time to transfer. A large file takes too much time to open. Any kind of change in a large file takes a long time to update. So, reducing

More information

Excel Shortcuts Increasing YOUR Productivity

Excel Shortcuts Increasing YOUR Productivity Excel Shortcuts Increasing YOUR Productivity CompuHELP Division of Tommy Harrington Enterprises, Inc. tommy@tommyharrington.com https://www.facebook.com/tommyharringtonextremeexcel Excel Shortcuts Increasing

More information

Switches between worksheet and menu / Ribbon. Calculates all worksheets in all open workbooks. Highlights shortcut keys of Menu and Ribbon items.

Switches between worksheet and menu / Ribbon. Calculates all worksheets in all open workbooks. Highlights shortcut keys of Menu and Ribbon items. Check for updates http://www.excelbee.com/all-excel-shortcuts/ Shortcut with Function Key Function Keys Description F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 Open "Microsoft Office Excel Help". Edit an Excel

More information

Advanced formula construction

Advanced formula construction L E S S O N 2 Advanced formula construction Lesson objectives Suggested teaching time 40-50 minutes To become more adept at using formulas to get the data you want out of Excel, you will: a b c d Use range

More information

Microsoft Excel. The Basics NOTES & ACTIVITIES GUIDE H X B

Microsoft Excel. The Basics NOTES & ACTIVITIES GUIDE H X B Microsoft Excel The Basics NOTES & CTIVITIES GUIDE DISCLIMER: Purchasers, readers, or users of this course agree to be bound by the following terms: Information contained in this course has been obtained

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

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

I N T R O D U C T I O N T O. N u t r i t i o n L a b e l l i n g

I N T R O D U C T I O N T O. N u t r i t i o n L a b e l l i n g I N T R O D U C T I O N T O N u t r i t i o n L a b e l l i n g W I T H FoodWorks 9 MAY 2018 MAY 2018 Copyright 2018 Xyris Software (Australia) Pty Ltd. All rights reserved. No part of this publication

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

Quantitative Techniques: Laboratory 4 Revision

Quantitative Techniques: Laboratory 4 Revision Quantitative Techniques: Laboratory 4 Revision Overview In this lab your tasks are: 1. Complete Lab 3 (learn how put a loop into macros) 2. Practice with summary statistics 3. Binomial distribution Task

More information

Computer Applications Data Processing FA 14

Computer Applications Data Processing FA 14 Lesson 7: Combining Multiple Data Sources Microsoft Excel 2016 IN THIS CHAPTER, YOU WILL LEARN HOW TO: Use workbooks as templates for other workbooks. Link to data in other worksheets and workbooks. Consolidate

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

2013 ADVANCED MANUAL

2013 ADVANCED MANUAL 2013 ADVANCED MANUAL C B C H O U S E 2 4 C A N N I N G S T R E E T E D I N B U R G H E H 3 8 E G 0 1 3 1 2 7 2 2 7 9 0 W W W. I T R A I N S C O T L A N D. C O. U K I N F O @ I T R A I N S C O T L A N D.

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

Newforma Contact Directory Quick Reference Guide

Newforma Contact Directory Quick Reference Guide Newforma Contact Directory Quick Reference Guide This topic provides a reference for the Newforma Contact Directory. Purpose The Newforma Contact Directory gives users access to the central list of companies

More information

Excel: Tips and Tricks Speaker: Marlene Groh, CCE, ICCE Date: June 13, 2018 Time: 2:00 to 3:00 & 3:30 to 4:30 Session Number: & 27097

Excel: Tips and Tricks Speaker: Marlene Groh, CCE, ICCE Date: June 13, 2018 Time: 2:00 to 3:00 & 3:30 to 4:30 Session Number: & 27097 Excel: Tips and Tricks Speaker: Marlene Groh, CCE, ICCE Date: June 13, 2018 Time: 2:00 to 3:00 & 3:30 to 4:30 Session Number: 27083 & 27097 Recording and Using Macros: Macros can be used to record steps

More information

Creating If/Then/Else Routines

Creating If/Then/Else Routines 10 ch10.indd 147 Creating If/Then/Else Routines You can use If/Then/Else routines to give logic to your macros. The process of the macro proceeds in different directions depending on the results of an

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

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

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

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

COPYRIGHTED MATERIAL. Making Excel More Efficient

COPYRIGHTED MATERIAL. Making Excel More Efficient Making Excel More Efficient If you find yourself spending a major part of your day working with Excel, you can make those chores go faster and so make your overall work life more productive by making Excel

More information

Excel Simulations - 1

Excel Simulations - 1 Excel Simulations - [] We are going to look at a number of ways Excel can be used to create worksheet simulations that help students visualize concepts. The first type of simulation we will create will

More information

CHAPTER 1 GETTING STARTED

CHAPTER 1 GETTING STARTED GETTING STARTED WITH EXCEL CHAPTER 1 GETTING STARTED Microsoft Excel is an all-purpose spreadsheet application with many functions. We will be using Excel 97. This guide is not a general Excel manual,

More information

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

Introduction... 1 Part I: Getting Started with Excel VBA Programming Part II: How VBA Works with Excel... 31 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... 31 Chapter

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

Guide to KI-ELN, downloaded/remote desktop client

Guide to KI-ELN, downloaded/remote desktop client Guide to KI-ELN, downloaded/remote desktop client Conventions used in this tutorial Bold a button Underline selection from a menu Italics Right mouse-click menu item You can access the system in three

More information

The Basics of PowerPoint

The Basics of PowerPoint MaryBeth Rajczewski The Basics of PowerPoint Microsoft PowerPoint is the premiere presentation software. It enables you to create professional presentations in a short amount of time. Presentations using

More information

Appendix III. Installing the Microsoft Excel Add-in For the Freeway Service Patrol Beat Evaluation Model

Appendix III. Installing the Microsoft Excel Add-in For the Freeway Service Patrol Beat Evaluation Model Appendix III Installing the Microsoft Excel Add-in For the Freeway Service Patrol Beat Evaluation Model 1. Introduction and Background In previous releases, the FSP Beat Evaluation (FSPE) Model has been

More information

Microsoft Access 2010

Microsoft Access 2010 www.jwalkonline.org/main michael@jwalkonline.org @MichaelJWalk Microsoft Access 2010 Part 3 Michael J. Walk It's about control: use advanced features of Access to control data entry, automate processes,

More information

Microsoft Excel - Macros Explained

Microsoft Excel - Macros Explained Microsoft Excel - Macros Explained Macros Explained Macros or macroinstructions allow you to automate procedures or calculations in Excel. Macros are usually recorded using the Macro recorder and then

More information