Excel for Engineers Part 2

Size: px
Start display at page:

Download "Excel for Engineers Part 2"

Transcription

1 Excel for Engineers Part User defined functions 3-Controls from form Toolbar 4-User form and controls 5-VBA (Visual Basic for Applications) Excel for Engineers-part2 1 Excel for Engineers-part2 2 How to record a macro 1-1-Go to tools macro record a new macro 2-Go to cell B6 and type x, and type y in cell C6 3-Write the numbers 1 to 10 in cells B7 to B16 4-Go to cell B18 and type =sum(b7:b16) 5-Go to Cell C7 and write =B7^2 6-Copy from cell C7 to C16 7-stop recording the macro by pressing the stop button Now go to visual basic editor (i.e. press Alt+F11) And then click on module You will see the macro that you have created Excel for Engineers-part2 3 Excel for Engineers-part2 4 1

2 Record a macro Record a macro Excel for Engineers-part2 5 Excel for Engineers-part2 6 Record a macro Record a macro Excel for Engineers-part2 7 Excel for Engineers-part2 8 2

3 Record another macro Assign a macro to a command button How to create a command button on the excel sheet and link it to a macro 1-After creating a button 2-Go to view toolsbar forms 3-A small window will pop up showing some of the controls that you can place on the excel sheet 4-Choose the Command button and place it some where in the excel sheet 5-Once you release the mouse another window will pop up asking you to attach or link the command button you have created to the macro available Excel for Engineers-part2 9 Excel for Engineers-part2 10 Assign a macro to a command button Assign a macro to a command button Excel for Engineers-part2 11 Excel for Engineers-part2 12 3

4 Assign a macro to a command button Assign a macro to a command button Excel for Engineers-part2 13 Excel for Engineers-part2 14 Form controls Form controls You can create scroll bar, list_box, combo_box and others on Excel sheet using the form controls Excel for Engineers-part2 15 Excel for Engineers-part2 16 4

5 Form controls Form controls Group box Command button Combo Box Check Box List Box Scroll Bar Excel for Engineers-part2 17 Option button Excel for Engineers-part2 18 Form controls Form controls Excel for Engineers-part2 19 Excel for Engineers-part2 20 5

6 Form controls msgbox and inputbox Excel for Engineers-part2 21 Excel for Engineers-part2 22 InputBox Function InputBox Function Syntax InputBox(prompt[, title] [, default] [, xpos] [, ypos] [, helpfile, context]) Value=inputBox(Prompt, title, default) Prompt is a text ( i.e. it must be written between two quotes) Title is also a string Value1=inputBox( Enter A value, Heat Transfer,111) Excel for Engineers-part2 23 Excel for Engineers-part2 24 6

7 Input Box Massage Box Syntax MsgBox(prompt[, buttons] [, title] [, helpfile, context]) Excel for Engineers-part2 25 Excel for Engineers-part2 26 User Defined Functions Excel for Engineers-part2 27 Excel for Engineers-part2 28 7

8 Creating user defined functions User defined functions User defined functions To access the visual basic editor tools macros visual basic editor Or just type Alt-F11 You will see the visual basic Go to insert and insert a module You can view the project ad see that a module is added to the project. In the module now you can add functions and subroutines Excel for Engineers-part2 29 Excel for Engineers-part2 30 User defined functions User defined functions Suppose we want to add a function that do the followings Function myfun(x) a0=5 a1=0.5 a2=0.75 myfun=a0+a1*x+a2*x^2 End function y = a a1x a2x Now you can go to the excel sheet and type =myfun(1) the answer will be 6.25 Excel for Engineers-part2 31 Excel for Engineers-part2 32 8

9 User defined functions User defined functions Select a cell and type =myfun(1) Excel for Engineers-part2 33 Excel for Engineers-part2 34 Notes on creating user defined functions To see all user defined functions and subroutines go to tools macro visual basic editor And press on module Excel for Engineers-part Try to document every function you write. So that when you come back to it after a while you can remember what was the purpose of the function and the source of it 2-if you start the first line with single quote or the word rem, then that statement is a remark statement 3-use the command debug.print to send values of the variable to immediate window 4-Keep all related functions and subroutines in separate module. Excel for Engineers-part2 36 9

10 Example on creating functions Another Example of creating A user defined functions The effectiveness for counter current flow heat exchanger Excel for Engineers-part2 37 Excel for Engineers-part2 38 List of the function eff_counter Function eff_counter(ntu, Cr) ' This function finds the heat effectivness for ' counter current heat exchanger ' The input parameters ' 1-NTU is the no of transfer unit ' 2-Cr is the capacity ratio=cmin/cmax ' ' C=m_dot*Cp ' NTU=Cmin/UA ' the output is the heat exchanger effectiveness If Cr = 1 Then Cr = End If x1 = 1 - Exp(-NTU * (1 - Cr)) y1 = 1 - Cr * Exp(-NTU * (1 - Cr)) eff_counter = x1 / y1 End Function Excel for Engineers-part2 39 Excel for Engineers-part

11 Modules can be saved and insert in new worksheet Steps to export a module Go to visual basic editor Choose the module to export With mouse right click select Export file Choose the prefer name and location to save the module file [The extension of the file will be *.bas]. It can be several functions and modules Excel for Engineers-part2 41 Steps to insert a module into a worksheet 1-In a new or current workbook go to Visual Basic editior (Alt-F11) 2-Insert a new module 3-Click on the module with mouse right click select import file 4-A pop up window will appear to select the module you want to insert 5-Choose the location and the name of the file (module) you want to insert Excel for Engineers-part2 42 Inserting a module into excel sheet Some Useful Applications 1-Table interpolation 2-Friction factor in pipes 3-Moist air properties 4-Thermodynamic properties of water Excel for Engineers-part2 43 Excel for Engineers-part

12 1- Table interpolation 1- Table interpolation Program name: table interpolation.xls Excel for Engineers-part2 45 Excel for Engineers-part Table interpolation 1- Table interpolation Excel for Engineers-part2 47 Excel for Engineers-part

13 1- Table interpolation Air properties Cp_air(T) Prandtl_air(T) Density_air(T) Conductivity_air(T) 2- Friction factor for flow inside pipes Program name f_factor.xls Water properties Cp_water(T) Prandtl_water(T) Spvolliq_water(T) Conductivity_water(T) Excel for Engineers-part2 49 Excel for Engineers-part Friction factor for flow inside pipes 2- Friction factor for flow inside pipes Laminar flow Re<2300 f = 64 Re Turbulent flow Re>= f 0.5 e / D log Re f = 5 Excel for Engineers-part2 51 Excel for Engineers-part

14 2- Friction factor for flow inside pipes 3-Moist air properties Dry bulb temp Wet bulb temperature Total pressure Humidity ratio Enthalpy Relative humidity Dew point temperature Excel for Engineers-part2 53 Excel for Engineers-part Moist air properties 3-Moist air properties Given two thermodynamic properties of air along with total pressure, one then can find the rest of the properties h W h W s humidity ratio For example Given tdry, twet, air pressure pa Find h, RH, dew point temp. humidity ratio etc sat. 1 f t * W s * W dry temp. t d t Excel for Engineers-part2 55 Excel for Engineers-part

15 3-Moist air properties Excel for Engineers-part2 57 W W = P Pv W = P - P * s ( t ( t vs ( t d )= W P W v * ) - (t - t t h= C pa * t +W (2501+C pv * t )= t +W ( * t ) ln Some of the moist air properties relation ( vs 7 P φ = P P v vs )= C1 /T +C2 +C3 T +C4 T +C5 T +C6 T +C ln(t) * Excel for Engineers-part2 58 ) * ) 3-Moist air properties 4-Water thermodynamic properties File name: Xsteam_excel_v2.6.xls Site: Excel for Engineers-part2 59 Excel for Engineers-part

16 4-Water thermodynamic properties T 4-Water thermodynamic properties Steam and water thermodynamic and thermo-physical properties CP P2 > P 1 P 1 Sub-cooled region Saturation region Superheated region Sub-cooled region Saturated region Saturated vapor line Super heated region Saturated liquid line s Excel for Engineers-part2 61 Excel for Engineers-part Water thermodynamic properties 4-Water thermodynamic properties Excel for Engineers-part2 63 Excel for Engineers-part

17 4-Water thermodynamic properties 4-Water thermodynamic properties Given the pressure P ( in bar) Saturated temperature (Tsat) : Tsat_p(P) Saturated liquid enthalpy hf: hl_p(p) Saturated vapor enthalpy hg: hv_p(p) Saturated liquid specific volume vf: vl_p(p) Saturated vapor specific volume vg: vv_p(p) 1 bar=100 kpa Excel for Engineers-part2 65 Excel for Engineers-part Water thermodynamic properties 4-Water thermodynamic properties Given the temperature T ( in deg. C) Superheated steam properties given P & T Saturated pressure (Psat) : Psat_p(T) Saturated liquid enthalpy hf: hl_t(t) Saturated vapor enthalpy hg: hv_t(t) Saturated liquid specific volume vf: vl_t(t) Saturated vapor specific volume vg: vv_t(t) 1-Enthalpy h: h_pt(p,t) 2-Entropy s: s_pt(p,t) 3-Density rho: rho_pt(p,t) Excel for Engineers-part2 67 Excel for Engineers-part

18 4-Water thermodynamic properties User form and creating a user interface 1-Go to Visual Basic editor 2-Insert a userform 3-On the userform insert tools 4-Change the properties of each tools as required 5-Program other tools such as command button, listbox, ComboBox, etc Excel for Engineers-part2 69 Excel for Engineers-part2 70 Insertion of a form Insert controls on the userform Command button ComboBox Forms, user form1 Toolbox for Controls Label Tools Properties window Userform Text Box Properties window frame Userform Excel for Engineers-part2 71 Excel for Engineers-part

19 Example: Simple Program Construct a program with user interface to add two numbers and show the result Excel for Engineers-part2 73 Excel for Engineers-part2 74 Excel for Engineers-part2 75 Excel for Engineers-part

20 Excel for Engineers-part2 77 Excel for Engineers-part2 78 Summary 1-Cell Referencing (Relative & absolute) 2-Introducing some of the built in functions & Extend your use of Excel 3-Use of Goal & Seek and Solver 4-5-Forms toolbox 6-User defined functions 7-Usful Engineering Applications 8-Userform and VBA Conclusions & Recommendations 1-Excel is handy, available and powerful 2-Lots of help and examples from the net 3-It is highly recommended to extend you capability of using Excel for your courses 4-Learn how to use new functions, build your own functions and form modules 5-For full excel usefulness learn VBA Excel for Engineers-part2 79 Excel for Engineers-part

21 Excel for Engineers-part2 81 Excel for Engineers-part2 82 References for Excel uses and VBA programming 1-Excel for Engineers 2-Internet (lots of sites, examples and forums Excel for Engineers-part2 83 Excel for Engineers-part

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

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

More information

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

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

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

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

More information

Corporate essentials

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

More information

Alternatives To Custom Dialog Box

Alternatives To Custom Dialog Box Alternatives To Custom Dialog Box Contents VBA Input Box Syntax & Function The Excel InputBox method Syntax The VBA MsgBox Function The Excel GetOpenFilename Method The Excel GetSaveAsFilename Method Reference

More information

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

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

More information

Agenda. First Example 24/09/2009 INTRODUCTION TO VBA PROGRAMMING. First Example. The world s simplest calculator...

Agenda. First Example 24/09/2009 INTRODUCTION TO VBA PROGRAMMING. First Example. The world s simplest calculator... INTRODUCTION TO VBA PROGRAMMING LESSON2 dario.bonino@polito.it Agenda First Example Simple Calculator First Example The world s simplest calculator... 1 Simple Calculator We want to design and implement

More information

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

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

More information

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

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

Unit 9 Spreadsheet development. Create a user form

Unit 9 Spreadsheet development. Create a user form Unit 9 Spreadsheet development Create a user form So far Unit introduction Learning aim A Features and uses Assignment 1 Learning aim B - Design a Spreadsheet Assignment 2 Learning aim C Develop and test

More information

Getting started with Simulis Thermodynamics Case 1: Building a water and ethanol flash TP calculation function in Excel

Getting started with Simulis Thermodynamics Case 1: Building a water and ethanol flash TP calculation function in Excel Getting started with Simulis Thermodynamics Case 1: Building a water and ethanol flash TP calculation function in Excel Introduction 2 This document presents the different steps to follow in order to calculate

More information

Software installation

Software installation Table of contents 1 Introduction...4 2 Software installation...4 2.1 Protection...4 2.2 Minimum recommended configuration...4 2.3 Installation...4 3 Uninstall the application...4 4 Software presentation...5

More information

VERSION RELEASE NOTES... 2 VERSION RELEASE NOTES... 3 VERSION RELEASE NOTES... 5

VERSION RELEASE NOTES... 2 VERSION RELEASE NOTES... 3 VERSION RELEASE NOTES... 5 Contents VERSION 6.3.3.4657 RELEASE NOTES... 2... 2... 2... 2 CC-BATCH... 2 VERSION 6.3.2.4389 RELEASE NOTES... 3... 3... 3... 3 CC-DYNAMICS... 4 CC-BATCH... 4 VERSION 6.3.1.4112 RELEASE NOTES... 5...

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

Outline. Midterm Review. Using Excel. Midterm Review: Excel Basics. Using VBA. Sample Exam Question. Midterm Review April 4, 2014

Outline. Midterm Review. Using Excel. Midterm Review: Excel Basics. Using VBA. Sample Exam Question. Midterm Review April 4, 2014 Midterm Review Larry Caretto Mechanical Engineering 209 Computer Programming for Mechanical Engineers April 4, 2017 Outline Excel spreadsheet basics Use of VBA functions and subs Declaring/using variables

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

Microsoft Excel 2016 Level 1

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

More information

Extending the Unit Converter

Extending the Unit Converter Extending the Unit Converter You wrote a unit converter previously that converted the values in selected cells from degrees Celsius to degrees Fahrenheit. You could write separate macros to do different

More information

IFA/QFN VBA Tutorial Notes prepared by Keith Wong

IFA/QFN VBA Tutorial Notes prepared by Keith Wong Chapter 2: Basic Visual Basic programming 2-1: What is Visual Basic IFA/QFN VBA Tutorial Notes prepared by Keith Wong BASIC is an acronym for Beginner's All-purpose Symbolic Instruction Code. It is a type

More information

Microsoft Excel 2010 Level 1

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

More information

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

Axial Channel Water Jacket Cooling

Axial Channel Water Jacket Cooling 28 November 2017 Motor-CAD Software Tutorial: Axial Channel Water Jacket Cooling Contents 1. Description... 1 2. Setting up the housing and axial channels... 2 3. Setting the water jacket fluid and flow

More information

Excel 2016: Introduction to VBA

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

More information

DOWNLOAD PDF EXCEL MACRO TO PRINT WORKSHEET TO

DOWNLOAD PDF EXCEL MACRO TO PRINT WORKSHEET TO Chapter 1 : All about printing sheets, workbook, charts etc. from Excel VBA - blog.quintoapp.com Hello Friends, Hope you are doing well!! Thought of sharing a small VBA code to help you writing a code

More information

DOC-1430 ( ) ASI

DOC-1430 ( ) ASI Object 30 - Function Function Summary The function object is designed to support different functional calculations. Type 1 Enthalpy Function Type 2 Airflow Calculation where Velocity Pressure is used to

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

T H E R M O P T I M USING THE EXCEL POST-PROCESSING MACRO

T H E R M O P T I M USING THE EXCEL POST-PROCESSING MACRO T H E R M O P T I M USING THE EXCEL POST-PROCESSING MACRO R. GICQUEL JANUARY 2004 2 CONTENTS USING THE EXCEL POST-PROCESSING MACRO... 3 LOADING THE PROJECT FILES IN THE SPREADSHEET... 3 DEFINING THE VALUES

More information

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

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

More information

Outline. More on Excel. Review Entering Formulas. Review Excel Basics Home tab selected here Tabs Different ribbon commands. Copying Formulas (2/2)

Outline. More on Excel. Review Entering Formulas. Review Excel Basics Home tab selected here Tabs Different ribbon commands. Copying Formulas (2/2) More on Excel Larry Caretto Mechanical Engineering 09 Programming for Mechanical Engineers January 6, 017 Outline Review last class Spreadsheet basics Entering and copying formulas Discussion of Excel

More information

IT COOLING EVAPORATIVE COOLING SYSTEM. 2 STAGE INDIRECT ADIABATIC COOLING SYSTEM FOR LARGE DATA CENTERS FROM 80 TO 320 kw

IT COOLING EVAPORATIVE COOLING SYSTEM. 2 STAGE INDIRECT ADIABATIC COOLING SYSTEM FOR LARGE DATA CENTERS FROM 80 TO 320 kw IT COOLING EVAPORATIVE COOLING SYSTEM 2 STAGE INDIRECT ADIABATIC COOLING SYSTEM FOR LARGE DATA CENTERS FROM 8 TO 3 kw IT COOLING EVAPORATIVE COOLING SYSTEM ADIABATIC COOLING FOR HIGH EFFICIENCY - Variable

More information

Economizer Control 2-1

Economizer Control 2-1 HVAC Economizers 101 Section #2 Economizer Control Methods 2-1 Section #2 Economizer Control Methods Most Commonly Used Control Strategy Dry-bulb changeover Enthalpy changeover Differential dry bulb Differential

More information

Homework No. 4 - Solution

Homework No. 4 - Solution Homework No. 4 - Solution 1. For Lake Nasser, Egypt, in July, the average net radiation is 170 W m-; the mean daily air temperature is 8.5 ºC, the relative humidity is 55 percent and the wind speed is.7

More information

Tutorial: Heat and Mass Transfer with the Mixture Model

Tutorial: Heat and Mass Transfer with the Mixture Model Tutorial: Heat and Mass Transfer with the Mixture Model Purpose The purpose of this tutorial is to demonstrate the use of mixture model in FLUENT 6.0 to solve a mixture multiphase problem involving heat

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

Themes & Templates Applying a theme Customizing a theme Creatingfilefromtemplate Creating yourowncustomize Template Using templates Editing templates

Themes & Templates Applying a theme Customizing a theme Creatingfilefromtemplate Creating yourowncustomize Template Using templates Editing templates Introducing Excel Understanding Workbooks and Worksheets Moving around a Worksheet Introducing the Ribbon Accessing the Ribbon by using your keyboard Using Shortcut Menus Customizing Your Quick Access

More information

variables programming statements

variables programming statements 1 VB PROGRAMMERS GUIDE LESSON 1 File: VbGuideL1.doc Date Started: May 24, 2002 Last Update: Dec 27, 2002 ISBN: 0-9730824-9-6 Version: 0.0 INTRODUCTION TO VB PROGRAMMING VB stands for Visual Basic. Visual

More information

Extracting the last word of a string Extracting all but the first word of a string Extracting first names, middle names, and last names Counting the

Extracting the last word of a string Extracting all but the first word of a string Extracting first names, middle names, and last names Counting the Introducing Excel Understanding Workbooks and Worksheets Moving around a Worksheet Introducing the Ribbon Accessing the Ribbon by using your keyboard Using Shortcut Menus Customizing Your Quick Access

More information

How to Add Date Picker in Excel VBA Forms

How to Add Date Picker in Excel VBA Forms Submitted by Jess on Tue, 01/24/2017-08:43 If you are using MS Excel for the longest time or if you are just new to this prowerful spreadsheet program, you might want to add some date picker functionality

More information

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

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

More information

I/A Series Software Spreadsheet

I/A Series Software Spreadsheet I/A Series Software Spreadsheet The I/A Series Spreadsheet is an interactive, easy-to-use tool, that allows process operators, engineers, and managers to manipulate data in a row/column format and graph

More information

Excel Macro Record and VBA Editor. Presented by Wayne Wilmeth

Excel Macro Record and VBA Editor. Presented by Wayne Wilmeth Excel Macro Record and VBA Editor Presented by Wayne Wilmeth 1 What Is a Macro? Automates Repetitive Tasks Written in Visual Basic for Applications (VBA) Code Macro Recorder VBA Editor (Alt + F11) 2 Executing

More information

T H E R M O P T I M ADVANCED MODELING HINTS JAVA VERSIONS

T H E R M O P T I M ADVANCED MODELING HINTS JAVA VERSIONS T H E R M O P T I M ADVANCED MODELING HINTS JAVA VERSIONS R. GICQUEL JANUARY 2006 2 CONTENTS MODEL CONSTRUCTION AND VERIFICATION METHODOLOGY... 3 THINK BEFORE YOU START ENTERING THE MODEL... 3 BUILD THE

More information

What Is Excel? Multisheet Files Multiple Document Interface Built-in Functions Customizable Toolbars Flexible Text Handling

What Is Excel? Multisheet Files Multiple Document Interface Built-in Functions Customizable Toolbars Flexible Text Handling What Is Excel? Excel is a software product that falls into the general category of spreadsheets. Excel is one of several spreadsheet products that you can run on your PC. Others include 1-2-3 and Quattro

More information

SMMS i Selection Tool

SMMS i Selection Tool Presentation Reference TP10-Vi04-01 1 Technical Training For... SMMS i Selection Tool EMEA Training 2010 2 SMMS-i Selection Tool Overview Two methods of System Design Wizard Based Selection Drag-&-Drop

More information

Introduction to VBA for Excel-Tutorial 7. The syntax to declare an array starts by using the Dim statement, such that:

Introduction to VBA for Excel-Tutorial 7. The syntax to declare an array starts by using the Dim statement, such that: Introduction to VBA for Excel-Tutorial 7 In this tutorial, you will learn deal with arrays. We will first review how to declare the arrays, then how to pass data in and how to output arrays to Excel environment.

More information

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

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

More information

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

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

More information

Multi Units Humidity/Temperature Transmitter. HygroViewer Model JW300 User Manual

Multi Units Humidity/Temperature Transmitter. HygroViewer Model JW300 User Manual Multi Units Humidity/Temperature Transmitter HygroViewer Model JW300 User Manual 1. Electrical Wired & Installation The power cord is a one-meter length, 22 AWG, 7 different colors for recognition. Please

More information

Delivering training since 1996

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

More information

Heat Exchanger Efficiency

Heat Exchanger Efficiency 6 Heat Exchanger Efficiency Flow Simulation can be used to study the fluid flow and heat transfer for a wide variety of engineering equipment. In this example we use Flow Simulation to determine the efficiency

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

MOLLIER DIAGRAM CAN BE IMPROVED!

MOLLIER DIAGRAM CAN BE IMPROVED! MOLLIER DIAGRAM CAN BE IMPROVED! IMPROVED BASIC COOLING CIRCUIT PERFORMANCE EFFICIENCY USING AN ECONOMISER Eng. Jonny Malachi, VP Operations, Mashav Refrigeration and Air Conditioning Engineering Ltd.

More information

COIL SELECTION PROGRAM

COIL SELECTION PROGRAM ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ COIL SELECTION PROGRAM INSTALLATION INSTRUCTIONS AND HELP MANUAL INST-COIL July, 2006 2006 Environmental Technologies Largo, FL The Enviro-Tec Coil Selection Program

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

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

[ Air Velocity Measurement Techniques from Alnor

[ Air Velocity Measurement Techniques from Alnor 8 Alnor EBT720 and EBT721 range DIFFERENTIAL PRESSURE ±15 in. H 2 O, (3735 Pa) 150 in. H 2 O maximum safe operating pressure ABSOLUTE PRESSURE 15 40 in. Hg (356 to 1016 Hg) 25 8,000 ft/min (0.125 40 m/s)

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

WINSTEAM USER S MANUAL

WINSTEAM USER S MANUAL WINSTEAM USER S MANUAL VERSION 4.0 COPYRIGHT NOTICE The WinSteam software and manual are copyrighted and licensed for use by one user per copy purchased. This manual and the software described in it are

More information

BERKELEY DAVIS IRVINE LOS ANGELES RIVERSIDE SAN DIEGO SAN FRANCISCO

BERKELEY DAVIS IRVINE LOS ANGELES RIVERSIDE SAN DIEGO SAN FRANCISCO DEPARTMENT OF LAND, AIR AND WATER RESOURCES ONE SHIELDS AVENUE COLLEGE OF AGRICULTURAL AND ENVIRONMENTAL SCIENCES DAVIS, CALIFORNIA 95616 User s Manual for Middle Ware Master WEAPhish by Sooyeon Yi, Samuel

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

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

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

IFA/QFN VBA Tutorial Notes prepared by Keith Wong

IFA/QFN VBA Tutorial Notes prepared by Keith Wong IFA/QFN VBA Tutorial Notes prepared by Keith Wong Chapter 5: Excel Object Model 5-1: Object Browser The Excel Object Model contains thousands of pre-defined classes and constants. You can view them through

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

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

KINETICS CALCS AND GRAPHS INSTRUCTIONS

KINETICS CALCS AND GRAPHS INSTRUCTIONS KINETICS CALCS AND GRAPHS INSTRUCTIONS 1. Open a new Excel or Google Sheets document. I will be using Google Sheets for this tutorial, but Excel is nearly the same. 2. Enter headings across the top as

More information

Creating Interactive Workbooks Using MS Excel Sarah Mabrouk, Framingham State College

Creating Interactive Workbooks Using MS Excel Sarah Mabrouk, Framingham State College Creating Interactive Workbooks Using MS Excel Sarah Mabrouk, Framingham State College Overview: MS Excel provides powerful calculation, statistical, graphing, and general data analysis and organizational

More information

Introduction to CFX. Workshop 2. Transonic Flow Over a NACA 0012 Airfoil. WS2-1. ANSYS, Inc. Proprietary 2009 ANSYS, Inc. All rights reserved.

Introduction to CFX. Workshop 2. Transonic Flow Over a NACA 0012 Airfoil. WS2-1. ANSYS, Inc. Proprietary 2009 ANSYS, Inc. All rights reserved. Workshop 2 Transonic Flow Over a NACA 0012 Airfoil. Introduction to CFX WS2-1 Goals The purpose of this tutorial is to introduce the user to modelling flow in high speed external aerodynamic applications.

More information

Welcome to Microsoft Excel 2013 p. 1 Customizing the QAT p. 5 Customizing the Ribbon Control p. 6 The Worksheet p. 6 Excel 2013 Specifications and

Welcome to Microsoft Excel 2013 p. 1 Customizing the QAT p. 5 Customizing the Ribbon Control p. 6 The Worksheet p. 6 Excel 2013 Specifications and Preface p. xi Welcome to Microsoft Excel 2013 p. 1 Customizing the QAT p. 5 Customizing the Ribbon Control p. 6 The Worksheet p. 6 Excel 2013 Specifications and Limits p. 9 Compatibility with Other Versions

More information

interphasechangefoam

interphasechangefoam interphasechangefoam This assignment is solved in OpenFOAM 2.0.x. How to apply a heat source to interphasechangefoam to evaporate water. In this presentation will go through the following steps: Short

More information

Unit 12. Electronic Spreadsheets - Microsoft Excel. Desired Outcomes

Unit 12. Electronic Spreadsheets - Microsoft Excel. Desired Outcomes Unit 12 Electronic Spreadsheets - Microsoft Excel Desired Outcomes Student understands Excel workbooks and worksheets Student can navigate in an Excel workbook and worksheet Student can use toolbars and

More information

VISUAL BASIC 2 EDITOR

VISUAL BASIC 2 EDITOR VISUAL BASI 2 EDITOR hapter SYS-ED/ OMPUTER EDUATION TEHNIQUES, IN. Objectives You will learn: How to edit code in the. How to create, open, and access project(s). How to edit scripts and use the code

More information

Lesson 1: Exploring Excel Return to the Excel 2007 web page

Lesson 1: Exploring Excel Return to the Excel 2007 web page Lesson 1: Exploring Excel 2007 Return to the Excel 2007 web page Presenting Excel 2007 Excel can be used for a wide variety of tasks: Creating and maintaining detailed budgets Tracking extensive customer

More information

Manual Vba Access 2010 Close Form Without Saving Record

Manual Vba Access 2010 Close Form Without Saving Record Manual Vba Access 2010 Close Form Without Saving Record I have an Access 2010 database which is using a form frmtimekeeper to keep Then when the database is closed the close sub writes to that same record

More information

EES Program Overview

EES Program Overview EES Program Overview EES (pronounced 'ease') is an acronym for Engineering Equation Solver. The basic function provided by EES is the numerical solution of a set of algebraic equations. EES can also be

More information

Introduction to Microsoft Excel

Introduction 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 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

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

Spreadsheet Techniques and Problem Solving for ChEs

Spreadsheet Techniques and Problem Solving for ChEs AIChE Webinar Presentation co-sponsored by the Associação Brasileira de Engenharia Química (ABEQ) Problem Solving for ChEs David E. Clough Professor Dept. of Chemical & Biological Engineering University

More information

Verification of Laminar and Validation of Turbulent Pipe Flows

Verification of Laminar and Validation of Turbulent Pipe Flows 1 Verification of Laminar and Validation of Turbulent Pipe Flows 1. Purpose ME:5160 Intermediate Mechanics of Fluids CFD LAB 1 (ANSYS 18.1; Last Updated: Aug. 1, 2017) By Timur Dogan, Michael Conger, Dong-Hwan

More information

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

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

More information

Important note to users of Excel 2007 and above

Important note to users of Excel 2007 and above ELECTRICITY AND HEAT ANNUAL QUESTIONNAIRE 2016 EXCEL USER DOCUMENTATION Table of Contents Introduction 1. Opening and saving the questionnaire a. Opening the questionnaire b. Data entry c. Saving your

More information

TRAINING-NYC

TRAINING-NYC TRAINING-NYC faye@training-nyc.com Advanced Excel Power Users 2010 The Advanced Excel Power Users group class concentrates on taking your Excel knowledge to the next level. By the end of the Excel training

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

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

Course Overview. Audience Profile. At Course Completion. Module Title : 50546A: Learn Microsoft Excel 2010 Step by Step, Level 3

Course Overview. Audience Profile. At Course Completion. Module Title : 50546A: Learn Microsoft Excel 2010 Step by Step, Level 3 Module Title : 50546A: Learn Microsoft Excel 2010 Step by Step, Level 3 Duration : 1 day Course Overview This one-day instructor-ledcourse provides students with the skills to analyze alternative data

More information

RK4. Version 2.0 (updated 5/30/2005) 2001, 2005 Tomas Co. Michigan Technological University Houghton, MI 49931

RK4. Version 2.0 (updated 5/30/2005) 2001, 2005 Tomas Co. Michigan Technological University Houghton, MI 49931 RK4 Version 2.0 (updated 5/30/2005) 2001, 2005 Tomas Co Michigan Technological University Houghton, MI 49931 Table of Contents Description 3 Rationale 3 Special Features 3 Installing the RK4 Add-In 4 Activating/Deactivating

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

Estimation of transport efficiency and aspiration losses for brake emissions using inertia dynamometer testing

Estimation of transport efficiency and aspiration losses for brake emissions using inertia dynamometer testing Estimation of transport efficiency and aspiration losses for brake emissions using inertia dynamometer testing Carlos Agudelo, Ravi Vedula, and Tyler Odom 47 th PMP meting, May 16-17, 2018 PMP 47 th, May

More information

Appendix C. Vernier Tutorial

Appendix C. Vernier Tutorial C-1. Vernier Tutorial Introduction: In this lab course, you will collect, analyze and interpret data. The purpose of this tutorial is to teach you how to use the Vernier System to collect and transfer

More information

HYGROCHIP 1/5 Humidity sensors LabKit with USB-Interface

HYGROCHIP 1/5 Humidity sensors LabKit with USB-Interface HYGROCHIP 1/5 Characteristic features PC for all HYGROCHIP Supports HYT 221, HYT 271 and HYT 939 Measurement of temperature and relative humidity Calculation of further humidity parameters Inclusive of

More information

Co-Simulation von Flownex und ANSYS CFX am Beispiel einer Verdrängermaschine

Co-Simulation von Flownex und ANSYS CFX am Beispiel einer Verdrängermaschine Co-Simulation von Flownex und ANSYS CFX am Beispiel einer Verdrängermaschine Benoit Bosc-Bierne, Dr. Andreas Spille-Kohoff, Farai Hetze CFX Berlin Software GmbH, Berlin Contents Positive displacement compressors

More information

Programming with the Peltier Tech Utility

Programming with the Peltier Tech Utility Programming with the Peltier Tech Utility The Peltier Tech Utility was designed so that much of its functionality is available via VBA as well as through the Excel user interface. This document explains

More information

COURSE CONTENT Excel with VBA Training

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

More information

Spreadsheet Techniques and Problem Solving for ChEs

Spreadsheet Techniques and Problem Solving for ChEs AIChE Webinar Presentation Problem Solving for ChEs David E. Clough Professor Dept. of Chemical & Biological Engineering University of Colorado Boulder, CO 80309 Email: David.Clough@Colorado.edu 2:00 p.m.

More information

Outline for Weather Station

Outline for Weather Station Outline for Weather Station I. Assembly Instructions (Before and After configuration) Materials Needed: Screwdriver with a hexagonal head (2.5 mm), you may also use an allen wrench. An SD card reader.

More information

Lesson 1: Exploring Excel Return to the FastCourse Excel 2007 Level 1 book page

Lesson 1: Exploring Excel Return to the FastCourse Excel 2007 Level 1 book page Lesson 1: Exploring Excel 2007 Return to the FastCourse Excel 2007 Level 1 book page Lesson Objectives After studying this lesson, you will be able to: Explain ways Excel can help your productivity Launch

More information