Civil Engineering Computation
|
|
- Nickolas Cameron
- 5 years ago
- Views:
Transcription
1 Civil Engineering Computation First Steps in VBA Homework Evaluation 2 1
2 Homework Evaluation 3 Based on this rubric, you may resubmit Homework 1 and Homework 2 (along with today s homework) by next Monday at class time. VBA Functions 4 2
3 VBA Functions 5 Terminology Input l Information coming into the program from The spreadsheet The user (keyboard or screen) An external file 6 3
4 Terminology Output l Information going out of the program to The spreadsheet The user (screen) An external file 7 Terminology Operations l Manipulations performed on data or informaiton of three types Arithmetic (+, -, *, /, ^) Relational (>, <, <=, >=, <>, =) Logical (And, Or, Not) 8 4
5 Terminology Variables Shorthand names for locations in computer memory where information is stored l The type of information can be either specified or unspecified l You will not have to know the physical address of the information, just the Shorthand ID (variable name) l 9 Terminology Decisions A method of controlling which statements (actions) that a program will take based on some logical (yes/no) condition that you specify l This is where we will start today l 10 5
6 Terminology Loops A method of repeating a set of instructions a number of times or until a logical condition is attained l And we will look at these also l 11 The VBA Interface in EXCEL This is the way that EXCEL would normally appear when you first start it. If you are on the University s computers, this is the way it will always appear when you start EXCEL. 12 6
7 The VBA Interface in EXCEL Once again, we will go to the upper left corner of the screen and go to the Excel Options box. 13 The VBA Interface in EXCEL We are going to enable a new tab in the ribbon, the Developer tab by checking this box and then clicking OK down below. 14 7
8 The VBA Interface in EXCEL The Developer Tab now shows up in the ribbon. Go ahead and select that tab from the ribbon. 15 The VBA Interface in EXCEL We get a set of tools that can be used in developing VBA programs. VBA programs are called Macros. This is just Microsoft speak for program. You will probably hear me use program and macro both. 16 8
9 The VBA Interface in EXCEL We will start by putting a value in Cell B2 of our workbook. The value isn t important, it is the idea of developing a repeatable task we want to focus on here. We are going to change the font, number display, and color of the cell and let Excel look over out shoulder while we do. 17 The VBA Interface in EXCEL We start by selection the Record Macro option in the toolbar. Before you check this selection, make sure that the cell we are going to work on is selected in the workbook. (Notice the black bounding box around the cell). 18 9
10 The VBA Interface in EXCEL You should see this screen show up on your workbook. In this case, we can name the Macro ClassExample. Notice that there is no space in the name. We could assign a control key sequence to the macro but in this case we won t. If you are going to do something lots of times, it may help to make that assignment. 19 The VBA Interface in EXCEL Notice that once you clicked OK, the toolbar changed. Now you have an option to Stop Recording where you had the Record Marco option before. Until you choose Stop Recording, everything you try to do on the spreadsheet will be recorded and interpreted into the macro you just named. Don t check this just yet
11 The VBA Interface in EXCEL If you right click your mouse with the cell selected (which it already was), you see options for displaying the information in the cell. 21 The VBA Interface in EXCEL Change the fill color of the cell to Green
12 The VBA Interface in EXCEL Change the background (fill) to green, the text color to yellow, the font to Arial, made it bold and italic and size 14, and increased the decimals shown to three. Your cell should look something like this. 23 The VBA Interface in EXCEL Now go ahead and choose the Stop Recording option
13 The VBA Interface in EXCEL Put a number into another cell. It really doesn t matter what the number is. Make sure the cell is selected. 25 The VBA Interface in EXCEL Select the Macros option from this ribbon. If you have a problem with this, we may need to address Macro Security
14 The VBA Interface in EXCEL This is a list of the macros current available to this workbook. In our case, it probably only have one, ClassExample. If it isn t highlighted, select it. Then hit the run button. 27 The VBA Interface in EXCEL The macro that you recorded, then ran, has duplicated the changes you made to Cell B2 in cell B
15 The VBA Interface in EXCEL Now we can look at the code in the macro and start getting an idea about what is under the hood in Excel. 29 The VBA Interface in EXCEL This time, we select the Visual Basic option from the Developer toolbar
16 The VBA Interface in EXCEL This is the VBA development interface. Right now it is empty because we haven t asked it to display anything. Don t worry about knowing about the interface just now. We will go through what we need as we need it. 31 The VBA Interface in EXCEL Everything in VBA is grouped together in VBAProjects. You should be able to see a list of things for this Project (similar to a Workbook). There are three Worksheet objects and a This Workbook object. There is also something called Modules. Modules are where the VBA macros reside
17 The VBA Interface in EXCEL Click on the + sign next to the Modules folder. This will open up the modules to make them available for you to view. 33 The VBA Interface in EXCEL You should see that you have a Module named Module 1. Go ahead and double click on the Module 1 name
18 The VBA Interface in EXCEL Here is your first example of VBA code. Because Excel developed it from your keystrokes, it is very complicated. Your code won t look like this very often. We won t talk much about this code because there is just too much extraneous stuff in it. Just know that you can do some things this way. 35 The VBA Interface in EXCEL The keystroke capture is not a good way to write code but it can often be a good way to start writing code for a problem or project
19 Writing a VBA program The first few programs that we are going to write will be very simple and not of much use. This is to start with things we know how to do and see what they look like in VBA. Please don t judge the power of VBA by these first few programs. 37 Writing a VBA program To start our program, we need to be in the Visual Basic part of Excel. If you haven t closed the Module1 from the last part we did, please do so now. You should see a screen like the one shown on the next slide
20 39 With nothing else showing, we select the Insert option from the ribbon. This will give us a set of options
21 With nothing else showing, we select the Insert option from the ribbon. This will give us a set of options. Select the Module Option. 41 This should be what you now see in the section of your screen. Notice that the Module is Module2. Module1 was where the code generated by Excel was held. As you create modules, they are sequentially numbered
22 This is just the starting point to hold our macros. We now need to put out first macro into place. To do this, we will go to the Insert menu again but this time we will insert a Procedure. 43 We now have a window where we can set up a unique name for our macro. It cannot start with a number or symbol and it cannot contain any blanks
23 Here I named the macro FirstMacro. For now, we are going to leave the other parts just as they are. We will look at the difference between a Sub and a Function in a later class. 45 Once we accepted the macro by clicking the OK button, EXCEL VBA put in the first and last line of our Sub macro. You don t have to do that unless you want to. It is usually just easier to let EXCEL do the work
24 We are going to start by writing a macro to sum numbers in the first column of the sheet. We are going to sum the numbers in cells A2, A3, and A4 and put the result in A6. 47 We start by making four variables. Three to hold the information coming in from the spreadsheet and one to hold the information going to the spreadsheet from the macro. Variables are just places to store information 48 24
25 We set up these locations by Typing the variables. Typing is the method we use to tell VBA what type of information we are going to store in the location named by the variable name. In this case, we are going to use the Single variable type. 49 Nearly all non-trivial VBA code involves declaring variables. While VBA allows a great deal of flexibility in declaring your variables, this flexibility can easily lead to poor coding practices
26 As the first line of code in the module, above and before any other lines, use: Option Explicit This statement requires that all variables be declared using a Dim statement. 51 Now we will tell VBA that we are going to use four variables FirstNum, SecondNum, ThirdNum, and SumOfNumbers. We do this by using the Dim (short for Dimension). The general form for the statement is DIM variablename As variabletype 52 26
27 So in our program (after the Public Sub statement) we add four lines defining our variables. DIM variablename As variabletype 53 This didn t do anything. There is nothing stored in these variables right now. They are empty locations just waiting to have something put into them. They also only exist while the macro is executing (running). When it gets to the End Sub statement, everything in them is lost
28 Now we can move some information off the worksheet into the program. We do that with an Assignment statement. In VBA, an assignment statement is identified by an =. In English it would read Calculate the right side of the expression and store the result in the left side of the expression. 55 The left side of the expression must be 1. A valid variable name (with Option Explicit it must also have been typed in the Sub). 2. A valid location on a workbook You cannot make a calculation on the left side of the = and you cannot assign something to a constant on the left side
29 A = 24 (Valid) A = B + C (Valid, assuming all the variables are valid) 1 = A + 3 (Invalid, constant on left side) B + C = A + 3 (Invalid, not a variable or cell location on left side) The = sign in this context is not the same as the algebraic = sign. It does not mean is equal to. 57 No we are going to get some information from the workbook and put it into variables in the macro
30 Notice how we addressed the cells. We used a Range object with the argument that was the address of the cell on the workbook. 59 It is critical that you use the double quotes. This is known as a string constant. If you just use A2 with the quotes, it will think you are looking for the variable A
31 The.Value after the argument is the property of the object that you are going to use. In this case it is the value in the cell. 61 So the FirstNum = Range( A2 ).Value tells VBA Find the cell A2 on the worksheet Get the value that is in that cell Store that value in the variable name FirstNum 62 31
32 This is another way of taking information from cells in a worksheet. In this case, we locate information in the worksheet by using a Cells object. 63 Now we will add up the values in the three cells and store the sum in the variable SumOfNumbers
33 SumOfNumbers is only inside the program. To be able to see what is in there, we will have to send the value back to the worksheet. 65 Once again we use the assignment statement
34 Once again we use the assignment statement, this time using the Cells object rather than the Range. 67 We have to save this program before we run it. This is to help us in case we have a dramatic error and can t get the program to stop running. Save often and save early
35 Now we can see if our program runs. We can actually do this from the VBA window. 69 This is the run icon on the toolbar. You can also see a Run option above. Either one should work
36 When you try to run your macro, you may well see this error message. EXCEL is trying to protect you from malicious code. Macros are very powerful things so you have to reset your EXCEL to allow that macro to run. 71 Back on the worksheet (not in VBA) if you have the Developer tab open, in the Code box, you should see a Macro Security option
37 When you selected the Macro Security option, you are given to this page. For now, we will select the Enable all macros. If you are on your own machine, be sure to disable this before you run anything that you don t write yourself if you don t know where it came from. 73 After you have saved, closed, and reopened your sheet, go back to VBA, and put your cursor somewhere in the Sub. Then use the run icon again
38 Hopefully you didn t see anything happen. If you were asked to select a macro, just select the name you used for this particular Sub and run it. You will not see any results on this page. 75 If you go back to the worksheet, you should see results
39 If you go back to the worksheet, you should see results. 77 Program Execution Remark statements serve as notes for the programmer (and possibly the user). Do not change the execution of the program or make any changes to the program environment
40 Program Execution Notice that you can use a single quote to specify a remark statement or you can use the Rem Key Word. You can also put remarks on the same line after an executable statement but I really don t recommend doing this. 79 Program Execution These are specification statements. They set up the program environment. Here they are used to name and type the variables we are going to use in the program. There are other types of specification statements we may use later. They are set up in the order that they are encountered
41 Program Execution These are executable statements. They do something. In this case, we have five assignments statements that get data from the worksheet, make a calculation, and then put data back on the worksheet. 81 Program Planning One of the most difficult concepts for beginning programmers to understand is the need to plan the program out before you begin developing the code This is especially true in a class where most of the problems do not seem to require a lot of planning 82 41
42 Program Planning The development and testing of a plan, before the code development is one of the most time saving (and frustration saving) steps that you can take When you have written code for a few years, for simple programs you may be able to skip this step but you probably won t because you will understand how useful it is 83 Program Planning Program planning is where you will develop the logic of your solution and test it before you worry about the syntax of the programming language If you skip this step, you will have two problems to deal with Syntax l Logical flow l 84 42
43 Program Planning Think of the logical flow as deciding what you want to do and in what order you want to do it Then syntax is getting the computer to follow your pattern of instructions 85 A Decision Problem Now we can look at a somewhat more sophisticated problem and work through the process of program development. We are given a worksheet with numbers in three cells. We need to decide which of those three numbers is the largest. Once that is decided, we will divide each of the original numbers by the largest
44 A Decision Problem 87 And display each of the results of the divisions as a percentage next to the original location of the number. A Decision Problem Up to this point, we have not had to make any decisions in our programs They were just fine executing from top to bottom Now we will have to move to make a choice on how to execute because we will have alternatives 88 44
45 The IF statement Now that we know that we need to be able to make a decision, we need to know how it is done in VBA You may see it referred to as the IF statement or as the IF-THEN-ELSE-ENDIF construct They are actually both the same just different ways of referring to the process 89 The IF statement There are two forms of the syntax and you can't mix them. It is possible to write everything on one line (usually not as nice because it is a bit harder to read and follow) The syntax is l 90 IF question THEN action; ELSE other action 45
46 The IF statement The syntax is l IF question THEN action; ELSE other action The first action is what we would do if the answer to the question was yes The other action is what we would do if the answer to the question was no Notice the semicolon in the statement 91 The IF statement The syntax is l IF question THEN action; ELSE other action It is not necessary to have the ;ELSE other action part of the statement Sometimes you don t want to anything is the answer to the question is no 92 46
47 The IF statement The syntax is l IF question THEN action; ELSE other action The form of the question is usually developed using a relational operator (>, <, <=, >=, =, <>) We compare the values of two arguments (constants or variable) using the relational operator. 93 The IF statement There is another form of the statement that allows for a bit more flexibility This is not the full version but it will do for now. IF condition THEN l Action l ELSE l Other Action l END IF l 94 47
48 The IF statement Notice that we use more than one line for this form and that we have to have something telling use we are done IF condition THEN l Action l ELSE l Other Action l END IF l 95 The IF statement There is more flexibility here because the action or other action can be another IF IF condition THEN l Action l ELSE l Other Action l END IF l 96 48
49 The IF statement We can start by recognizing that we need three variables to store the original data we bring in from the worksheet. 97 The IF statement We have now completed the input from the worksheet and stored the values the worksheet into three variables. Now we need to start with the decision tree
50 The IF statement We are asking the first question. The next statement will be the action we take if the question is answered yes. 99 The IF statement Following out flowchart, the action we took if the answer was yes was to ask another question. Notice that I indent the action in an IF statement, this makes things easier to follow especially when you are searching for problems in your code
51 The IF statement We don t have anywhere to store the largest value when we find it, so we need to add a variable to store this largest value. 101 The IF statement Now we are on the yes side of this question so we store the first number value in to the variable Largest
52 The IF statement We need to show that we are done with the actions from the yes branch so we insert the keyword ELSE on the next line. 103 The IF statement Notice that the indentation of the Else matches up with the If that spawned it. The Else matches with the question where it is the No answer
53 The IF statement The No answer branch stores the third number into the variable Largest. Therefore this statement should follow the Else Statement. 105 The IF statement Now if we don t close this Else, the program will think we are continuing on with actions from when the current question was answered with a No. To stop this, we add and End If statement which aligns with the IF and Else statements for this question
54 The IF statement And we need to do the actions on the No branch of the FirstNum > SecondNum question. 107 The IF statement And we need to do the actions on the No branch of the FirstNum > SecondNum question
55 The IF statement And to finish it off, we have to close the first If with and End If. 109 The IF statement Looking at the If blocks
56 The IF statement 111 The IF statement 112 Now we are through with the decision blocks we can finish up the program by making the calculations and putting the results onto the workbook. And we test the macro after saving the workbook. 56
57 114 57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79 157 79
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 informationQUICK EXCEL TUTORIAL. The Very Basics
QUICK EXCEL TUTORIAL The Very Basics You Are Here. Titles & Column Headers Merging Cells Text Alignment When we work on spread sheets we often need to have a title and/or header clearly visible. Merge
More informationThis 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 informationFundamentals. Fundamentals. Fundamentals. We build up instructions from three types of materials
Fundamentals We build up instructions from three types of materials Constants Expressions Fundamentals Constants are just that, they are values that don t change as our macros are executing Fundamentals
More informationCandy 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 informationAdvanced 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 informationCreating an expenses record spreadsheet in Excel
Creating an expenses record spreadsheet in Excel 1. Open a new workbook in Microsoft Excel. 2. Highlight the first row of cells (each small box on the screen is called a cell) from A to Q. To do this,
More information» How do I Integrate Excel information and objects in Word documents? How Do I... Page 2 of 10 How do I Integrate Excel information and objects in Word documents? Date: July 16th, 2007 Blogger: Scott Lowe
More informationExcel 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 informationThe name of our class will be Yo. Type that in where it says Class Name. Don t hit the OK button yet.
Mr G s Java Jive #2: Yo! Our First Program With this handout you ll write your first program, which we ll call Yo. Programs, Classes, and Objects, Oh My! People regularly refer to Java as a language that
More informationAgenda. Spreadsheet Applications. Spreadsheet Terminology A workbook consists of multiple worksheets. By default, a workbook has 3 worksheets.
Agenda Unit 1 Assessment Review Progress Reports Intro to Excel Learn parts of an Excel spreadsheet How to Plan a spreadsheet Create a spreadsheet Analyze data Create an embedded chart in spreadsheet In
More informationExcel 2010: Getting Started with Excel
Excel 2010: Getting Started with Excel Excel 2010 Getting Started with Excel Introduction Page 1 Excel is a spreadsheet program that allows you to store, organize, and analyze information. In this lesson,
More informationExcel 2010: Basics Learning Guide
Excel 2010: Basics Learning Guide Exploring Excel 2010 At first glance, Excel 2010 is largely the same as before. This guide will help clarify the new changes put into Excel 2010. The File Button The purple
More informationMicrosoft Excel 2010 Handout
Microsoft Excel 2010 Handout Excel is an electronic spreadsheet program you can use to enter and organize data, and perform a wide variety of number crunching tasks. Excel helps you organize and track
More informationBASIC MACROS IN EXCEL Presented by IGNACIO DURAN
BASIC MACROS IN EXCEL 2013 Presented by IGNACIO DURAN Introduction What are Macros? Macros are little programs that run within Excel and help automate common repetitive tasks. Macros are one of Excel's
More informationBasic 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 informationExcel Level 1
Excel 2016 - Level 1 Tell Me Assistant The Tell Me Assistant, which is new to all Office 2016 applications, allows users to search words, or phrases, about what they want to do in Excel. The Tell Me Assistant
More informationExcel Basic: Create Formulas
Better Technology, Onsite and Personal Connecting NIOGA s Communities www.btopexpress.org www.nioga.org [Type Excel Basic: Create Formulas Overview: Let Excel do your math for you! After an introduction
More informationExcel Basics Rice Digital Media Commons Guide Written for Microsoft Excel 2010 Windows Edition by Eric Miller
Excel Basics Rice Digital Media Commons Guide Written for Microsoft Excel 2010 Windows Edition by Eric Miller Table of Contents Introduction!... 1 Part 1: Entering Data!... 2 1.a: Typing!... 2 1.b: Editing
More informationRev. C 11/09/2010 Downers Grove Public Library Page 1 of 41
Table of Contents Objectives... 3 Introduction... 3 Excel Ribbon Components... 3 Office Button... 4 Quick Access Toolbar... 5 Excel Worksheet Components... 8 Navigating Through a Worksheet... 8 Making
More informationWelcome to Introduction to Microsoft Excel 2010
Welcome to Introduction to Microsoft Excel 2010 2 Introduction to Excel 2010 What is Microsoft Office Excel 2010? Microsoft Office Excel is a powerful and easy-to-use spreadsheet application. If you are
More informationMicrosoft Excel 2007
Learning computers is Show ezy Microsoft Excel 2007 301 Excel screen, toolbars, views, sheets, and uses for Excel 2005-8 Steve Slisar 2005-8 COPYRIGHT: The copyright for this publication is owned by Steve
More informationUsing Microsoft Excel
Using Microsoft Excel Formatting a spreadsheet means changing the way it looks to make it neater and more attractive. Formatting changes can include modifying number styles, text size and colours. Many
More informationUsing Microsoft Excel
About Excel Using Microsoft Excel What is a Spreadsheet? Microsoft Excel is a program that s used for creating spreadsheets. So what is a spreadsheet? Before personal computers were common, spreadsheet
More informationIntro. Scheme Basics. scm> 5 5. scm>
Intro Let s take some time to talk about LISP. It stands for LISt Processing a way of coding using only lists! It sounds pretty radical, and it is. There are lots of cool things to know about LISP; if
More informationExploring extreme weather with Excel - The basics
Exploring extreme weather with Excel - The basics These activities will help to develop your data skills using Excel and explore extreme weather in the UK. This activity introduces the basics of using
More informationPart II: Creating Visio Drawings
128 Part II: Creating Visio Drawings Figure 5-3: Use any of five alignment styles where appropriate. Figure 5-4: Vertical alignment places your text at the top, bottom, or middle of a text block. You could
More informationMy First Cocoa Program
My First Cocoa Program 1. Tutorial Overview In this tutorial, you re going to create a very simple Cocoa application for the Mac. Unlike a line-command program, a Cocoa program uses a graphical window
More informationUsing Microsoft Excel
Using Microsoft Excel Table of Contents The Excel Window... 2 The Formula Bar... 3 Workbook View Buttons... 3 Moving in a Spreadsheet... 3 Entering Data... 3 Creating and Renaming Worksheets... 4 Opening
More informationIntroduction 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 informationINTRODUCTION... 1 UNDERSTANDING CELLS... 2 CELL CONTENT... 4
Introduction to Microsoft Excel 2016 INTRODUCTION... 1 The Excel 2016 Environment... 1 Worksheet Views... 2 UNDERSTANDING CELLS... 2 Select a Cell Range... 3 CELL CONTENT... 4 Enter and Edit Data... 4
More informationUsing Excel 2011 at Kennesaw State University
Using Excel 2011 at Kennesaw State University Getting Started Information Technology Services Outreach and Distance Learning Technologies Copyright 2011 - Information Technology Services Kennesaw State
More informationA PRACTICAL TUTORIAL TO EXCEL
2010 BEGINNERS A PRACTICAL TUTORIAL TO EXCEL by: Julio C. Fajardo A Practical Tutorial to Excel About: Excel is one of the early software tools developed by Microsoft. The program has been widely adopted
More informationChapter 2 The SAS Environment
Chapter 2 The SAS Environment Abstract In this chapter, we begin to become familiar with the basic SAS working environment. We introduce the basic 3-screen layout, how to navigate the SAS Explorer window,
More informationEXCEL BASICS: PROJECTS
EXCEL BASICS: PROJECTS In this class, you will be practicing with three basic Excel worksheets to learn a variety of foundational skills necessary for more advanced projects. This class covers: Three Project
More informationExcel 2013 for Beginners
Excel 2013 for Beginners Class Objective: This class will familiarize you with the basics of using Microsoft Excel. Class Outline: Introduction to Microsoft Excel 2013... 1 Microsoft Excel...2-3 Getting
More informationFACULTY AND STAFF COMPUTER FOOTHILL-DE ANZA
FACULTY AND STAFF COMPUTER TRAINING @ FOOTHILL-DE ANZA Office 2001 Excel Worksheets A Quick Reference Guide 1 Getting Started Excel is a powerful spreadsheet program. To open up a new Microsoft Excel 2001
More informationIntro to Excel. To start a new workbook, click on the Blank workbook icon in the middle of the screen.
Excel is a spreadsheet application that allows for the storing, organizing and manipulation of data that is entered into it. Excel has variety of built in tools that allow users to perform both simple
More informationCS 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 informationCS 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 informationCell to Cell mouse arrow Type Tab Enter Scroll Bars Page Up Page Down Crtl + Home Crtl + End Value Label Formula Note:
1 of 1 NOTE: IT IS RECOMMENDED THAT YOU READ THE ACCOMPANYING DOCUMENT CALLED INTRO TO EXCEL LAYOUT 2007 TO FULLY GRASP THE BASICS OF EXCEL Introduction A spreadsheet application allows you to enter data
More informationExcel 2016 Basics for Windows
Excel 2016 Basics for Windows Excel 2016 Basics for Windows Training Objective To learn the tools and features to get started using Excel 2016 more efficiently and effectively. What you can expect to learn
More informationCS 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 informationEXCEL + POWERPOINT. Analyzing, Visualizing, and Presenting Data-Rich Insights to Any Audience KNACK TRAINING
EXCEL + POWERPOINT Analyzing, Visualizing, and Presenting Data-Rich Insights to Any Audience KNACK TRAINING KEYBOARD SHORTCUTS NAVIGATION & SELECTION SHORTCUTS 3 EDITING SHORTCUTS 3 SUMMARIES PIVOT TABLES
More informationAdvanced 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 informationCS 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 informationCS 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 informationAdvanced Excel Charts : Tables : Pivots
Advanced Excel Charts : Tables : Pivots Protecting Your Tables/Cells Protecting your cells/tables is a good idea if multiple people have access to your computer or if you want others to be able to look
More informationAmacro is a sequence of commands or keystrokes that Word records
Chapter 1: Recording and Using Macros In This Chapter Recording a macro Running a macro Editing a macro Using auto macros Amacro is a sequence of commands or keystrokes that Word records and lets you play
More informationGetting Started with. Office 2008
Getting Started with Office 2008 Copyright 2010 - Information Technology Services Kennesaw State University This document may be downloaded, printed, or copied, for educational use, without further permission
More informationActivity 1 Creating a simple gradebook
Activity 1 Creating a simple gradebook 1 Launch Excel to start a new spreadsheet a. Click on the Excel icon to start a new workbook, either from the start menu, Office Toolbar, or an Excel icon on the
More informationCS 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 informationDOWNLOAD PDF MICROSOFT EXCEL ALL FORMULAS LIST WITH EXAMPLES
Chapter 1 : Examples of commonly used formulas - Office Support A collection of useful Excel formulas for sums and counts, dates and times, text manipularion, conditional formatting, percentages, Excel
More informationIntroduction to Microsoft Excel
Chapter A spreadsheet is a computer program that turns the computer into a very powerful calculator. Headings and comments can be entered along with detailed formulas. The spreadsheet screen is divided
More informationWithin the spreadsheet, columns are labeled with letters and rows are labeled with numbers.
Excel Exercise 1: Goals: 1. Become familiar with Guidelines for spans and proportions of common spanning members (Chapter 1). 2. Become familiar with basic commands in Excel for performing simple tasks
More informationPayment Function Exercise
Payment Function Exercise Follow the directions below to create a payment function exercise. Read through each individual direction before performing it, like you are following recipe instructions. Remember
More informationLastly, in case you don t already know this, and don t have Excel on your computers, you can get it for free through IT s website under software.
Welcome to Basic Excel, presented by STEM Gateway as part of the Essential Academic Skills Enhancement, or EASE, workshop series. Before we begin, I want to make sure we are clear that this is by no means
More informationThe clean-up functionality takes care of the following problems that have been happening:
Email List Clean-up Monte McAllister - December, 2012 Executive Summary Background This project is a useful tool to help remove bad email addresses from your many email lists before sending a large batch
More informationIntroduction to Excel
Office Button, Tabs and Ribbons Office Button The File menu selection located in the upper left corner in previous versions of Excel has been replaced with the Office Button in Excel 2007. Clicking on
More informationIntermediate Excel 2013
Intermediate Excel 2013 Class Objective: Elmhurst Public Library is committed to offering enriching programs to help our patrons Explore, Learn, and Grow. Today, technology skills are more than a valuable
More informationEXCEL BASICS: MICROSOFT OFFICE 2010
EXCEL BASICS: MICROSOFT OFFICE 2010 GETTING STARTED PAGE 02 Prerequisites What You Will Learn USING MICROSOFT EXCEL PAGE 03 Opening Microsoft Excel Microsoft Excel Features Keyboard Review Pointer Shapes
More informationMicrosoft Excel 2013: Part 3 More on Formatting Cells And Worksheet Basics. To apply number formatting:
Microsoft Excel 2013: Part 3 More on Formatting Cells And Worksheet Basics Formatting text and numbers In Excel, you can apply specific formatting for text and numbers instead of displaying all cell content
More informationDOING MORE WITH EXCEL: MICROSOFT OFFICE 2013
DOING MORE WITH EXCEL: MICROSOFT OFFICE 2013 GETTING STARTED PAGE 02 Prerequisites What You Will Learn MORE TASKS IN MICROSOFT EXCEL PAGE 03 Cutting, Copying, and Pasting Data Basic Formulas Filling Data
More informationIntroduction to Microsoft Excel 2010
Introduction to Microsoft Excel 2010 THE BASICS PAGE 02! What is Microsoft Excel?! Important Microsoft Excel Terms! Opening Microsoft Excel 2010! The Title Bar! Page View, Zoom, and Sheets MENUS...PAGE
More informationA cell is highlighted when a thick black border appears around it. Use TAB to move to the next cell to the LEFT. Use SHIFT-TAB to move to the RIGHT.
Instructional Center for Educational Technologies EXCEL 2010 BASICS Things to Know Before You Start The cursor in Excel looks like a plus sign. When you click in a cell, the column and row headings will
More informationThe Excel Project: Excel for Accountants, Business People... from the Beginning Duncan Williamson
The Excel Project: Excel for Accountants, Business People... from the Beginning Duncan Williamson Introduction In this book you will see that we use Excel 2007 as the focal point of much of the work we
More informationMicrosoft 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 informationChapter 5 Making Life Easier with Templates and Styles
Chapter 5: Making Life Easier with Templates and Styles 53 Chapter 5 Making Life Easier with Templates and Styles For most users, uniformity within and across documents is important. OpenOffice.org supports
More informationIntroduction to Microsoft Excel 2007
Introduction to Microsoft Excel 2007 Microsoft Excel is a very powerful tool for you to use for numeric computations and analysis. Excel can also function as a simple database but that is another class.
More informationEXCEL BASICS: MICROSOFT OFFICE 2007
EXCEL BASICS: MICROSOFT OFFICE 2007 GETTING STARTED PAGE 02 Prerequisites What You Will Learn USING MICROSOFT EXCEL PAGE 03 Opening Microsoft Excel Microsoft Excel Features Keyboard Review Pointer Shapes
More informationMAKING TABLES WITH WORD BASIC INSTRUCTIONS. Setting the Page Orientation. Inserting the Basic Table. Daily Schedule
MAKING TABLES WITH WORD BASIC INSTRUCTIONS Setting the Page Orientation Once in word, decide if you want your paper to print vertically (the normal way, called portrait) or horizontally (called landscape)
More informationComputer Basics: Step-by-Step Guide (Session 2)
Table of Contents Computer Basics: Step-by-Step Guide (Session 2) ABOUT PROGRAMS AND OPERATING SYSTEMS... 2 THE WINDOWS 7 DESKTOP... 3 TWO WAYS TO OPEN A PROGRAM... 4 DESKTOP ICON... 4 START MENU... 5
More informationPrepared By: Graeme Hilson. U3A Nunawading
0 Prepared By: Graeme Hilson U3A Nunawading - 2015 1 CONTENTS This Course Page 3 Reference Material Page 3 Introduction page 3 Microsoft Excel Page 3 What is a Spreadsheet Page 4 Excel Screen Page 4 Using
More informationIntroduction to Programming with JES
Introduction to Programming with JES Titus Winters & Josef Spjut October 6, 2005 1 Introduction First off, welcome to UCR, and congratulations on becoming a Computer Engineering major. Excellent choice.
More informationI OFFICE TAB... 1 RIBBONS & GROUPS... 2 OTHER SCREEN PARTS... 4 APPLICATION SPECIFICATIONS... 5 THE BASICS...
EXCEL 2010 BASICS Microsoft Excel I OFFICE TAB... 1 RIBBONS & GROUPS... 2 OTHER SCREEN PARTS... 4 APPLICATION SPECIFICATIONS... 5 THE BASICS... 6 The Mouse... 6 What Are Worksheets?... 6 What is a Workbook?...
More informationKNACK TRAINING. MICROSOFT OFFICE: TIPS & TRICKS FOR EFFICIENCY
KNACK TRAINING http://knacktraining.com http://youtube.com/neilmalek MICROSOFT OFFICE: TIPS & TRICKS FOR EFFICIENCY 2 TABLE OF CONTENTS MICROSOFT WORD MOUSE & KEYBOARD TRICKS NAVIGATION 4 SELECTION 7 FORMATTING
More informationExcel 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= 3 + (5*4) + (1/2)*(4/2)^2.
Physics 100 Lab 1: Use of a Spreadsheet to Analyze Data by Kenneth Hahn and Michael Goggin In this lab you will learn how to enter data into a spreadsheet and to manipulate the data in meaningful ways.
More informationBasic Microsoft Excel 2007
Basic Microsoft Excel 2007 Contents Starting Excel... 2 Excel Window Properties... 2 The Ribbon... 3 Tabs... 3 Contextual Tabs... 3 Dialog Box Launchers... 4 Galleries... 5 Minimizing the Ribbon... 5 The
More informationDOING MORE WITH EXCEL: MICROSOFT OFFICE 2010
DOING MORE WITH EXCEL: MICROSOFT OFFICE 2010 GETTING STARTED PAGE 02 Prerequisites What You Will Learn MORE TASKS IN MICROSOFT EXCEL PAGE 03 Cutting, Copying, and Pasting Data Filling Data Across Columns
More informationMicrosoft Excel Level 2
Microsoft Excel Level 2 Table of Contents Chapter 1 Working with Excel Templates... 5 What is a Template?... 5 I. Opening a Template... 5 II. Using a Template... 5 III. Creating a Template... 6 Chapter
More informationIntermediate Excel 2003
Intermediate Excel 2003 Introduction The aim of this document is to introduce some techniques for manipulating data within Excel, including sorting, filtering and how to customise the charts you create.
More informationMicrosoft Excel 2007 Lesson 7: Charts and Comments
Microsoft Excel 2007 Lesson 7: Charts and Comments Open Example.xlsx if it is not already open. Click on the Example 3 tab to see the worksheet for this lesson. This is essentially the same worksheet that
More information-Using Excel- *The columns are marked by letters, the rows by numbers. For example, A1 designates row A, column 1.
-Using Excel- Note: The version of Excel that you are using might vary slightly from this handout. This is for Office 2004 (Mac). If you are using a different version, while things may look slightly different,
More informationWEEK NO. 12 MICROSOFT EXCEL 2007
WEEK NO. 12 MICROSOFT EXCEL 2007 LESSONS OVERVIEW: GOODBYE CALCULATORS, HELLO SPREADSHEET! 1. The Excel Environment 2. Starting A Workbook 3. Modifying Columns, Rows, & Cells 4. Working with Worksheets
More informationIntermediate Excel Training Course Content
Intermediate Excel Training Course Content Lesson Page 1 Absolute Cell Addressing 2 Using Absolute References 2 Naming Cells and Ranges 2 Using the Create Method to Name Cells 3 Data Consolidation 3 Consolidating
More informationDOWNLOAD PDF MICROSOFT OFFICE POWERPOINT 2003, STEP BY STEP
Chapter 1 : Microsoft Office Excel Step by Step - PDF Free Download Microsoft Office PowerPoint Step by Step This is a good book for an 76 year old man like me. It was a great help in teaching me to do
More informationExcel 2016 Basics for Mac
Excel 2016 Basics for Mac Excel 2016 Basics for Mac Training Objective To learn the tools and features to get started using Excel 2016 more efficiently and effectively. What you can expect to learn from
More informationBeginning Excel. Revised 4/19/16
Beginning Excel Objectives: The Learner will: Become familiar with terminology used in Microsoft Excel Create a simple workbook Write a simple formula Formatting Cells Adding Columns Borders Table of Contents:
More informationMicrosoft Excel 2010
Microsoft Excel 2010 omar 2013-2014 First Semester 1. Exploring and Setting Up Your Excel Environment Microsoft Excel 2010 2013-2014 The Ribbon contains multiple tabs, each with several groups of commands.
More informationIntroduction to Access 97/2000
Introduction to Access 97/2000 PowerPoint Presentation Notes Slide 1 Introduction to Databases (Title Slide) Slide 2 Workshop Ground Rules Slide 3 Objectives Here are our objectives for the day. By the
More informationPractice Exercises for Introduction to Excel
Practice Exercises for Introduction to Excel Follow the directions below to create the exercises. Read through each individual direction before performing it, like you are following recipe instructions.
More informationExcel & Business Math Video/Class Project #01 Introduction to Excel. Why We Use Excel for Math. First Formula.
Excel & Business Math Video/Class Project #01 Introduction to Excel. Why We Use Excel for Math. First Formula. Topics Covered in Video: 1) USB Drive to store files from class... 2 2) Save As to Download
More informationFormatting Values. 1. Click the cell(s) with the value(s) to format.
Formatting Values Applying number formatting changes how values are displayed it doesn t change the actual information. Excel is often smart enough to apply some number formatting automatically. For example,
More informationMicrosoft Excel Basics Ben Johnson
Microsoft Excel Basics Ben Johnson Topic...page # Basics...1 Workbook and worksheets...1 Sizing columns and rows...2 Auto Fill...2 Sort...2 Formatting Cells...3 Formulas...3 Percentage Button...4 Sum function...4
More information4) Study the section of a worksheet in the image below. What is the cell address of the cell containing the word "Qtr3"?
Choose The Correct Answer: 1) Study the highlighted cells in the image below and identify which of the following represents the correct cell address for these cells: a) The cell reference for the selected
More informationExcel 2007 Fundamentals
Excel 2007 Fundamentals Introduction The aim of this document is to introduce some basic techniques for using Excel to enter data, perform calculations and produce simple charts based on that information.
More informationWorkbooks & Worksheets. Getting Started. Formatting. Formulas & Functions
1 Getting Started Cells Workbooks & Worksheets Formatting Formulas & Functions Chart Printing 2 Getting Started Start a spreadsheet program Recognize the spreadsheet screen layout Use the ribbon,quick
More informationExcel Template Instructions for the Glo-Brite Payroll Project (Using Excel 2010 or 2013)
Excel Template Instructions for the Glo-Brite Payroll Project (Using Excel 2010 or 2013) T APPENDIX B he Excel template for the Payroll Project is an electronic version of the books of account and payroll
More informationTips & Tricks: MS Excel
Tips & Tricks: MS Excel 080501.2319 Table of Contents Navigation and References... 3 Layout... 3 Working with Numbers... 5 Power Features... 7 From ACS to Excel and Back... 8 Teacher Notes: Test examples
More information