ME 142 Engineering Computation I Exam 2 Review VBA.

Slides:



Advertisements
Similar presentations
1 Overview Introduction to VBA The Visual Basic Editor (VBE) –First Program Getting Started with VBA –Subroutines –Declaring variables –Input boxes and.
Advertisements

Objectives Understand the software development lifecycle Perform calculations Use decision structures Perform data validation Use logical operators Use.
Tutorial 12: Enhancing Excel with Visual Basic for Applications
CSc 2310 Principles of Programming (Java)
Programming in Visual Basic
Microsoft Excel 2003 Illustrated Complete with Excel Programming.
Programming Excel Macros, Visual Basic, and Solving Your Problem.
SUNY Morrisville-Norwich Campus-Week 12 CITA 130 Advanced Computer Applications II Spring 2005 Prof. Tom Smith.
Adding Automated Functionality to Office Applications.
Exploring Microsoft Excel 2002 Chapter 8 Chapter 8 Automating Repetitive Tasks: Macros and Visual Basic for Applications By Robert T. Grauer Maryann Barber.
Week 1.  Kate Watson  Checked at least every other day. Queries and general comments welcome.
Creating Embedded Formative Assessment Dr. Steve Broskoske Misericordia University EDU 533 Computer-based Education.
IE 212: Computational Methods for Industrial Engineering
BIS 494: Topics in Information Systems 1 M/M/c Queuing Simulation with VBA (1) Business Process Modeling, Simulation and Design.
Microsoft Excel 2007 © Wiley Publishing All Rights Reserved. The L Line The Express Line to Learning L Line.
11 10/10/2005 BAE Spreadsheet Macros (Visual Basic for Applications) Slides to accompany an in-class demo of spreadsheet technique: Macro Programming.
Automating Tasks with Visual Basic. Introduction  When can’t find a readymade macro action that does the job you want, you can use Visual Basic code.
Introduction to Engineering Computing GEEN 1300 Lecture 7 15 June 2010 Review for midterm.
1 Visual Basic for Applications (VBA) for Excel Prof. Yitzchak Rosenthal.
® Microsoft Access 2010 Tutorial 11 Using and Writing Visual Basic for Applications Code.
 An object-oriented programming language ◦ Instructions for the manipulation of objects ◦ A structured way to provide instructions to Excel  Excel has.
Chapter 17: Arrays Spreadsheet-Based Decision Support Systems Prof. Name Position (123) University Name.
Copyright © 2008 Pearson Prentice Hall. All rights reserved. 1 Microsoft Office Excel Copyright © 2008 Pearson Prentice Hall. All rights reserved
Class 3 Programming in Visual Basic. Class Objectives Learn about input/output Learn about strings Learn about subroutines Learn about arrays Learn about.
Laboratory 1: Introduction to Microsoft Word, Excel, and PowerPoint General Engineering Polytechnic University.
1 Midterm Review. 2 Midterm Exam  30% of your grade for the course  October14 at the regular class time  No makeup exam or alternate times  Closed.
Excel VBA TOM VORVES DO THE ACTIVITY EXERCISE ON PAGE 53 IF YOU WISH ElaineNikky JennArrinMylinh Matt Move Row.
VBA Lab 2 I ns.Samia Al-blwi. Visual Basic Grammar Object: Visual Basic is an object-oriented language. This means that all the items in Excel are thought.
CSCI 51 Introduction to Computer Science Dr. Joshua Stough January 20, 2009.
Bilgisayar Mühendisliği Bölümü CENG 102 – Computer Programming Melek OKTAY Syllabus Administrative Information.
CSEB114: PRINCIPLE OF PROGRAMMING Course Introduction.
ME 142 Engineering Computation I Debugging Techniques.
Introduction to VB.NET 2005 Dr. McDaniel IDS4704 Spring 2005.
Chapter 3 MATLAB Fundamentals Introduction to MATLAB Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Chapter 9 Macros And Visual Basic For Applications.
Spreadsheet Data Tables Data Table 1 allows you to change one input variable’s value at a time and record the impact that the input assumption has on several.
Advanced Work with Embedded and Summative Assessment Dr. Steve Broskoske Misericordia University EDU 533 Computer-based Education.
TECH 394 Computer Applications for Technologists and Engineers.
ME 142 Engineering Computation I Using Subroutines Effectively.
Lab 6 (2) Arrays ► Lab 5 (1) Exercise Review ► Array Concept ► Why Arrays? ► Array Declaration ► An Example of Array ► Exercise.
Introduction to Excel VBA UNC Charlotte CPE/PDH Series December 17, 2009.
Supplier Capacity Worksheet User Instructions September 2015 Revised December 2, 2015.
Macro’s Within excel. Most functionality can be driven from VBA VBA is the programming language that runs inside of excel. It uses visual basic as the.
Department of Electrical and Computer Engineering Introduction to Perl By Hector M Lugo-Cordero August 26, 2008.
ME 142 Engineering Computation I Input, Output & Documentation.
 In computer programming, a loop is a sequence of instruction s that is continually repeated until a certain condition is reached.  PHP Loops :  In.
ME 142 Engineering Computation I Using Subroutines Effectively.
ME 142 Engineering Computation I Exam 3 Review Mathematica.
ME 142 Engineering Computation I Review Exam 1.  2 Part Exam In-Class Portion Testing Center Portion Equally weighted.
Chapter 4 Getting Started with VBA. Subroutines Subroutine is the logical section of code that performs a particular task. Subroutine is also called a.
ME 142 Engineering Computation I Input, Output & Documentation.
COMPREHENSIVE Access Tutorial 11 Using and Writing Visual Basic for Applications Code.
Chapter 2 Excel Fundamentals Logical IF (Decision) Statements Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Chapter 15: Sub Procedures and Function Procedures Spreadsheet-Based Decision Support Systems Prof. Name Position (123) University.
Financial Information Management VB, VBA, VS, VSTO & VBE: Putting it all together Source: Excel VBA Programming by John Walkenbach.
Macros in Excel Using VBA Time Required – 5 hours.
COMPREHENSIVE Excel Tutorial 12 Expanding Excel with Visual Basic for Applications.
An Introduction to Programming with C++ Sixth Edition Chapter 8 More on the Repetition Structure.
ME 142 Engineering Computation I
Exam3 Review CSE111 B.Ramamurthy 7/28/2018 B.Ramamurthy.
The Selection Structure
Microsoft Office Illustrated
Final Exam Review Part 4 - VBA
Objectives Learn about Function procedures (functions), Sub procedures (subroutines), and modules Review and modify an existing subroutine in an event.
Exploring Microsoft Excel
Exam3 Review CSE111 B.Ramamurthy 11/24/2018 B.Ramamurthy.
IS-171 Computing With Spreadsheets
Language Constructs Construct means to build or put together. Language constructs refers to those parts which make up a high level programming language.
Tutorial 11 Using and Writing Visual Basic for Applications Code
Programming Techniques
Presentation transcript:

ME 142 Engineering Computation I Exam 2 Review VBA

Exam 2  2 Part Exam In-Class Portion Testing Center Portion Equally weighted

Exam 2- Testing Center Portion  Testing Center Opens:Monday, June 15 th Closes:Thursday, June 18 th  Test Format 25 multiple choice problems

Exam 2- Testing Center Portion  Similar to quiz and review questions Knowledge of terms Knowledge of function syntax Knowledge of function usage  All problems are equally weighted 4 points per problem  Allowable Resources 1 sheet of notes (1-side, 8.5” x 11”)

Exam 2 – In-Class Portion  Wednesday, June 17 th – during class  Test Format Electronic file posted at beginning of class You will need to download and work inside this file 5 problems (no “dropped” problems) Each problem on a separate worksheet

Exam 2 – In-Class Portion  Instructions for each problem given on the worksheet Follow carefully – Exam will be computer graded  Exam Submittal Due at the end of the class period Submit electronically through I-Learn as with other labs  Allowable Resources Open book and notes Closed neighbor

Exam 2 – In-Class Portion  Follow instructions precisely!!  Place answers in cells as directed. In general, yellow represents input and green output.  DO NOT RENAME the Worksheets (sheet1…sheet5).  Be sure to NAME EACH PROGRAM as instructed!!.

Exam 2 – In-Class Portion  You may omit comments on all programs.  Please note at time of grading, your programs will be run with a different set of input values:  Submit in I-Learn Exam Dropbox at end of the period.

Exam 2 – In-Class Portion  Functions Pass input through parameter list Do NOT read directly from cells Return output through function Do NOT write directly through cells  Example: Develop a VBA FUNCTION to calculate y=x a

Exam 2 – In-Class Portion  Subs Read input values directly from specified spreadsheet cells Write output values directly to specified spreadsheet cells  Example: Develop a VBA SUB to calculate volume of a box

Exam 2 – In-Class Portion  General Do NOT “hard code” “variables” in your program Input will be changed for grading purposes Do NOT use MsgBox or InputBox with Functions/Subs unless instructed to do so “Sample input/output is shown to the right.”

Topics  Fundamentals of Procedural Computer Programming, Flowcharts  Variables & Equations  Introduction to “basic”  Documentation, Input, Output, VBA Fundamentals  Interacting with Spreadsheets  Condition Statements  Debugging Techniques  Loops  Arrays  Loops & Arrays continued  Macros, Using Controls  Custom Dialog Boxes  Using Subroutines Effectively  Using Excel Arrays in Functions