Bullet-Proofing your Excel Spreadsheets Tech Day 2013 Presentation.

Slides:



Advertisements
Similar presentations
Introduction to Macro Introduction to Visual Basic for Application Recording a Macro Looking at the code of Recorded Macro.
Advertisements

© Paradigm Publishing, Inc Excel 2013 Level 2 Unit 2Managing and Integrating Data and the Excel Environment Chapter 7Automating Repetitive Tasks.
Computer Science & Engineering 2111 Text Functions 1CSE 2111 Lecture-Text Functions.
Microsoft Excel 2003 To start Excel, click the start button. A slightly different procedure might be required for computers on a network. If you need assistance,
With Microsoft Excel 2007 Comprehensive 1e© 2008 Pearson Prentice Hall1 PowerPoint Presentation to Accompany GO! with Microsoft ® Excel 2007 Comprehensive.
Using Macros and Visual Basic for Applications (VBA) with Excel
Tutorial 7: Developing an Excel Application
Developing an Excel Application
Tutorial 8: Developing an Excel Application
Chapter 07: Lecture Notes (CSIT 104) 1111 Exploring Microsoft Office Excel 2007 Chapter 7 Data Consolidation, Links, and Formula Auditing.
Copyright © 2008 Pearson Prentice Hall. All rights reserved Copyright © 2008 Prentice-Hall. All rights reserved. Committed to Shaping the Next.
XP New Perspectives on Microsoft Excel 2003, Second Edition- Tutorial 8 1 Microsoft Office Excel 2003 Tutorial 8 – Developing an Excel Application.
Templates and Styles Excel Advanced. Templates are pre- designed and formatted spreadsheets –They provide consistency of layout/structure –They.
Microsoft Office Excel 2013 Core Microsoft Office Excel 2013 Core Courseware # 3253 Lesson 8: Macros, Importing and Exporting Data.
MACROS CS1100 Computer Science and its Applications CS11001.
Exploring Microsoft Access Chapter 8 Creating More Powerful Applications: Introduction to VBA By Robert T. Grauer Maryann Barber.
Exploring Office Grauer and Barber 1 Creating More Powerful Applications: Introduction to VBA(Wk9)
Macros Excel built-in functions are great but limited Macros are a means for the user to define new functions A macro is a single command that automates.
Macros Tutorial Week 20. Objectives By the end of this tutorial you should understand how to: Create macros Assign macros to events Associate macros with.
The KPK Excel Macros The textbook authors have written a set of Excel macros An Excel macro carries out statistical calculations or constructs a statistical.
Macros in Excel Intro to lab 1. Macroinstructions Macro is recorded in VBA module sequence of Excel operations Macros can automate tasks in Excel Macro.
Excel Lesson 14 Creating and Using Macros Microsoft Office 2010 Advanced Cable / Morrison 1.
MS-Access XP Lesson 5. Creating a Query with Expression Builder Eg. Consider the following table. Table Name: Overtime Fields & Data types: Emp No (Number),
COMPREHENSIVE Excel Tutorial 8 Developing an Excel Application.
Copyright © 2008 Pearson Prentice Hall. All rights reserved. 1 Macros and VBA A macro is a set of instructions that tells Excel which commands to execute.
Computer Science & Engineering 2111 Data Validation and Macros 1 CSE 2111 Lecture-Data Validation and Macros.
Project 9 Using Visual Basic for Applications (VBA) to Customize and Automate Excel Jason C. H. Chen, Ph.D. Professor of Management Information Systems.
Microsoft Excel 2007 © Wiley Publishing All Rights Reserved. The L Line The Express Line to Learning L Line.
Air Quality System Precision and Accuracy Data Transaction Generator (AQSP&A) Training Session.
© 2008 The McGraw-Hill Companies, Inc. All rights reserved. WORD 2007 M I C R O S O F T ® THE PROFESSIONAL APPROACH S E R I E S Lesson 22 Macros.
Copyright 2007, Paradigm Publishing Inc. EXCEL 2007 Chapter 7 BACKNEXTEND 7-1 LINKS TO OBJECTIVES Record & run a macro Record & run a macro Save as a macro-
Microsoft Excel Macros & Excel Solver (IENG490)
12. Visual Basic If Statements and Do Loops. Open 12b-datastart.xlsm.
Verify your data entry You could use data types and field properties for adding any validation on your date: EX: Data type: number : allow the user to.
Formulas and Advanced Features R003. AO1: Use Formulas & features in your spreadsheet Invoice sheet Absolute cell reference Macros Conditional Formatting.
Introduction to VBA MGMI Aug What is VBA? VBA = Visual Basic for Application Excel’s powerful built-in programming language An event-driven.
INSERT BOOK COVER 1Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall. Exploring Microsoft Office Excel 2010 by Robert Grauer, Keith.
1 ADVANCED MICROSOFT WORD Lesson 16 – Customizing Features Microsoft Office 2003: Advanced.
Computer Science & Engineering 2111 Lecture 9 Data Validation, Worksheet Protection, and Macros 1CSE Data Validation and Macros.
ME 142 Engineering Computation I Macros. Key Concepts Macro Overview Recording a Macro Running a Macro Editing a Macro.
Intro to Excel - Session 7.31 Tutorial 7 - Session 7.3 Developing an Excel Application.
WORKING WITH MACROS Session Taught by Jennifer Garbett and Zahra Khushbakht.
Exploring Microsoft Access Chapter 8 Creating More Powerful Applications: Introduction to VBA.
Data Analysis in Excel 2007 A Visual Guide By Nick Evangelopoulos May 2007.
Access Lesson 11 Creating and Running Macros Microsoft Office 2010 Advanced Cable / Morrison 1.
Creating Macros in Excel Adding Automated Functionality to Excel & Office Applications.
Copyright © 2008 Pearson Prentice Hall. All rights reserved Copyright © 2008 Prentice-Hall. All rights reserved. Committed to Shaping the Next.
Generating Data for Assignment 9. Macro security policies Excel contains a programming language called Visual Basic for Applications that can be used.
1 In Microsoft Office 2007, click on the Windows button and select the Excel Options button on the lower right From Excel Options, select Trust Center.
Chapter 10 Using Macros, Controls and Visual Basic for Applications (VBA) with Excel Microsoft Excel 2013.
Introduction to Microsoft Excel Macros COE 201- Computer Proficiency.
M4 BTEC Level 3 Subsidiary Diploma in ICT. Technical Documentation The technical documentation may be a section in the user documentation or could be.
Chapter 2: Excel Basics and Formatting Spreadsheet-Based Decision Support Systems Prof. Name Position (123) University Name.
Installing AquaTracker. Quick guide to the Program Interface.
Macros in Excel Using VBA Time Required – 5 hours.
Chapter 10 Using Macros, Controls and Visual Basic for Applications (VBA) with Excel Microsoft Excel 2013.
McGraw-Hill/Irwin The Interactive Computing Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. Microsoft Excel 2002 Using Macros Lesson.
Excel Tutorial 8 Developing an Excel Application
June 17, 2009 Office 2007 Tips & Tricks.
IE 8580 Module 4: DIY Monte Carlo Simulation
Data Validation and Protecting Workbook
Developing an Excel Application
Exploring Microsoft® Excel® 2016 Series Editor Mary Anne Poatsy
Creating Macros in Excel
أ.إسراء الطريقي أ. هاله الشملان , 102 تقن , المعمل الخامس
ME 142 Engineering Computation I
Macro.
Lesson 1 - Automating Tasks
Microsoft Office Excel 2003
Microsoft Excel 2007 – Level 2
Presentation transcript:

Bullet-Proofing your Excel Spreadsheets Tech Day 2013 Presentation

Overview Data Protection Why Use Macros? Enabling Macros, and a Warning Recording a Macro Capturing a Formula in a Macro Resources Tech Day 11/20132

Data errors can occur in many ways: – manual entry – data from external sources – data transmission errors We can make better decisions if we can detect and prevent invalid data In Excel, this is called Data Validation Tech Day 12/20133

4 Select the cells/rows/columns that you want to validate, then

Tech Day 12/20135

Manipulate data Apply style and formatting Tech Day 12/20136

Manipulating research data Tech Day 11/20137

Classroom gradebook Tech Day 12/20138

9

To execute or work with macros, you must enable the Developer tab:, then Tech Day 12/201310

Most Excel installations have macro execution disabled by default Be careful if you enable macro execution – you are allowing code to run on your computer Tech Day 12/201311

Open sample excel file Tech Day 11/201312

Click on the “Developer” tab Tech Day 12/ or

Do you need your macro to be dependent upon coordinates, or relative? – Dependent upon coordinates – only works in coordinates recorded – Relative – dependent upon where cursor is Tech Day 12/ Dependent on coordinates Relative Reference

If want relative reference click “Relative Reference” Click “Record” Tech Day 12/201315

Tech Day 12/ Name your Macro Create shortcut for macro Click “OK”

Tech Day 12/201317

Click “Stop” when finished Tech Day 12/201318

When open Excel click either – “Macros” – Macros command (eg. Option + Command + A) Tech Day 12/ “Run”

Tech Day 11/201320

Tech Day 11/201321

Tech Day 11/201322

Tech Day 11/201323

Tech Day 11/201324

Tech Day 11/201325

Tech Day 11/201326

Tech Day 11/ Function Area(Length As Double, Width As Double) Area = Length * Width End Function

Tips on Data Validation – data-validation-to-cells-HP aspx data-validation-to-cells-HP aspx Microsoft Excel Recording Macros – help/overview-RZ aspx?CTT=1&section=1 help/overview-RZ aspx?CTT=1&section=1 Excel for Dummies – software/ms-office/Excel/Excel-2013/Macros- Programming.html software/ms-office/Excel/Excel-2013/Macros- Programming.html Tech Day 12/201328

Writing Your First VBA Function in Excel – Writing Your Own Functions In VBA – nvba.aspx nvba.aspx Tech Day 11/201329