This chapter is intended to take you through the basic steps of using the Visual Basic
|
|
- Ethelbert Mathews
- 5 years ago
- Views:
Transcription
1 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 Basic Editor (VBE) and the Project Explorer and code windows. You will learn how to write a simple macro to display a Hello World message box. Exploring the Visual Basic Editor in Excel If you use Excel a lot, you are familiar with its spreadsheet layout. When you open Excel, a standard view looks like Figure 1-1. You have a menu bar and toolbars across the top, the spreadsheet itself, and tabs along the bottom that let you access individual worksheets. The menu bar has changed considerably in Excel 2007 and now uses interactive ribbon controls for the submenu structure instead of the menu structure that previous users were familiar with. To some extent existing users are at a disadvantage with the new menu and will no doubt spend many frustrating minutes trying to find out how they now do something. Fortunately, the Visual Basic Editor (VBE) window has stayed much the same as in older versions of Excel, so if you have used Excel 2003 to design VBA code, you will not find too many differences. You can insert data and formulas into the cells, format the cells or the entire worksheet, and insert graphics and graphs. You may even have tried recording a macro by clicking on the Developer item in the menu bar and clicking on the Record Macro icon in the Code control of the ribbon. Most users are unaware that, in addition to the spreadsheet application of Excel, there is an extremely powerful programming language built into Excel that you can use to design your own applications. You can use VBA code to write macro applications in VBA that do some very powerful things. A macro is a procedure written in VBA code that performs 3
2 4 Excel 2007 VBA Macro Programming Figure 1-1 The standard Excel worksheet screen certain tasks. This could be something like sorting all worksheets within a workbook into alphabetical order or adding menu structures to the Excel menu. Whatever you decide to do with them, macros automate tasks and make life easier for you and the users of your workbook. However, before you can start programming in Excel, you need to know where the macros are stored. This is not as obvious as it used to be when text-based macros were entered into a special macro spreadsheet. In the old macro language, you simply inserted a macro sheet and entered your commands anywhere. Now that the macro language has grown and become a full object-oriented language, the method of storing it has also changed. Macros are now kept inside hidden VBA projects that are stored and saved within the workbook. The language works in conjunction with object structures and hierarchies, and you can even create your own objects by using class modules (see Chapter 18). Objects that you create yourself can be reused in other VBA projects if you save them as add-ins (see Chapter 44). Some people may argue that VBA is not an object-oriented language, but it certainly has all the features for it.
3 Chapter 1: The Basics 5 Figure 1-2 The standard Visual Basic Editor window These VBA projects can be accessed through a companion program called the Visual Basic Editor (VBE). Press ALT-F11 to see the window shown in Figure 1-2. At first glance, this window with its new menu bar, containing menus for File, Edit, View, Insert, Format, Debug, Run, Tools, Add-Ins, Window, and Help, might be confusing. It opens as a separate application window, but it is still very much a part of the Excel application. In fact, this window opens up a whole new ball game in terms of what you can do with Excel. In the next section, I ll explain the windows in more detail. VBA Project Explorer and Code Windows The Project Explorer, which shows a Project tree, is in the left-hand side of the screen, just below the menu and toolbar. It shows the VBA project for the active workbook as it stands, displaying the details in tree form so that you can easily navigate between them. If you click a branch of the tree, you ll enter that particular workbook or worksheet from the Visual Basic Editor. The VBA project is the root of the tree, and the workbook and worksheet objects are the branches coming off the tree. As you add and delete worksheets or workbooks, the
4 6 Excel 2007 VBA Macro Programming branches of the tree change to reflect the new worksheets or workbooks being created. You can also add in other objects such as UserForms and modules. Effectively, what you are seeing is a list of currently loaded workbooks and the worksheets within them in an Explorer-like interface. Remember, VBA is an object-oriented language. The first branch on the tree coming from the root of the VBA project says Microsoft Excel Objects. Coming off this branch are objects for the workbook that contain worksheets. This project tree, as reflected in UserForms in dialogs and in the Excel object model, is discussed in Chapters 9 and 12. Other objects can be inserted into the Project tree, such as UserForms, modules, and class modules. This is a very important concept to understand because the workbook is an object that can be referred to, and each sheet is also an object that can be referred to. These are not the only objects within Excel, but looking at the Project Explorer simplistically, these are the objects shown there. Double-click ThisWorkBook, and the code window for the Workbook object will open. Initially, it does not show a great deal, and you may wonder what to do with it. If you type something at random such as What do I do now? and press ENTER, you will get a compile error. This is because there are disciplines and rules about entering code. Everything that you enter here goes through a Visual Basic compiler that interprets what you have written and converts it into instructions that your computer understands. Unfortunately, it does not understand plain English, which is why you get a compile error. Click OK in the Compile Error message box and delete your statement. Notice that the statement line turned red when the compile error appeared to draw your attention to the problem. Even if you do nothing about it, it will remain red as a danger signal to show that there is a problem in your code. The drop-down list in the top-left corner of the window shows (General). Click the drop-down to see another choice, Workbook. Click Workbook to see the code for the workbook event of Open. Your screen should now look like Figure 1-3. What does this all mean? Quite simply, the Workbook_Open event happens when you open this particular workbook. This occurs at the point when you choose File Open and select the file and load it in. The code window automatically shows the statements Private Sub Workbook_Open() and End Sub: L 1-1 Private Sub Workbook_Open() End Sub This gives you a code area to write your VBA code against the Workbook_Open event. If you check the drop-down list on the right, you will notice there are other events that you can harness code to as well, but for the moment I will concentrate on Workbook_Open. In VBA, if you are not using this event, you do not need this code. Every time you click an event in the drop-down, these two statements are automatically inserted. If you intend to write any code for the event, then you must include these two statements or you will get a compile error. Think of them as start and finish lines in a race they tell the compiler where the code starts and stops. If you do not want to write any code for that event, you can delete them, but both must be deleted or you will get a compile error. The compiler wants your code neat and tidy, which means it must be structured properly.
5 Chapter 1: The Basics 7 Figure 1-3 Code window for the Workbook_Open event Click the Open drop-down (the box with the down arrow on the right) in the top-right corner and you will see a list of events for the workbook that you can add code to. Each of these events is called at a specific time and corresponds to a specific use of the workbook, and any code found will be run. An example is the Workbook_Open event. All the code you enter for this event will be run. If there is an error, the relevant error message will be displayed. Currently, you have the start and finish of an event. Although there s nothing between the Sub and End Sub statements, the routine is still live and will fire automatically every time the workbook opens. However, because there is no code in the event, it will not do anything. Your First Excel VBA Macro Programming books traditionally help you take your first steps in a program by writing a simple piece of code to display the text Hello world, and this book is no exception. You will use the MsgBox statement to display the statement. This is a simple user interface showing the statement and an OK button that you have probably seen before in Windows.
6 8 Excel 2007 VBA Macro Programming For this example, you will use another event on the Workbook object. You could use the existing Workbook_Open object, but this would require you to close the workbook and reopen it because the event is only fired off when the workbook is opened. Instead, you ll use the NewSheet event, which gets fired off every time you insert a new worksheet into the workbook. Select from the drop-down list in the top-right corner the event NewSheet. Your window will now have two more statements added for the event Workbook_NewSheet. Just as with the Workbook_Open event, these are like start and finish lines. In the blank line under the statement Private Sub Workbook_NewSheet(ByVal Sh As Object) but before End Sub, type in msgbox Hello World. Be sure to be lazy and do not use the SHIFT key when typing msgbox, and see what happens. The word msgbox transforms into the upper- and lowercase MsgBox because it is a defined statement word in VBA and is already set up to appear in this way. However, you must make sure you spell it correctly make a mistake, and you will get a compile error. L 1-2 Private Sub Workbook_NewSheet(ByVal Sh As Object) MsgBox "Hello World" End Sub Notice that the MsgBox statement is indented with the TAB key. This is a useful way to see where one set of statements begins and ends. When complicated loops are used, without this notation it is easy to get lost and lose track of where a loop starts and finishes. For more on loops, see Chapter 4. A MsgBox statement is a simple way to provide an interface to the user by displaying a message and an OK button. I m sure you ve seen message boxes like this pop up from time to time, and now you know how easy they are to create. They can be quite sophisticated, and Chapter 5 explains in more detail how to use them. After you type in the word msgbox, a box containing all the parameters for this command is displayed. In this instance, you do not have to take any notice of this box, since you are only displaying a text string. However, it can be extremely useful in telling you what parameters are required for a function and in what order they should appear. If, for example, you wanted to give the message box an icon or a title, the parameter box would help you do this correctly. The parameter box is a list box that appears when you reach the parameter for the icon and gives a list of optional constants for the icon of your choice. This type of help is available for all functions when using the VBA editor. Your code window should now look like Figure 1-4. To make this event macro run and display the message, go back to the Excel window and insert a new worksheet: Switch to the Excel worksheet screen by clicking the Excel icon on the Windows taskbar at the bottom of the screen or clicking the View Microsoft Excel button on the VBE toolbar (the first button). Then right-click the workbook tabs at the bottom right of the worksheet screen (these have names like Sheet1, Sheet2) and click Insert in the pop-up menu.
7 Chapter 1: The Basics 9 Figure 1-4 Code to display Hello World message box using Workbook_NewSheet event Click the Worksheet icon in the Insert window and the Hello World message box will appear with an OK button on it, as shown in Figure 1-5. You can see already that you can produce professional-looking interfaces on Excel with hardly any code! This is a simple demonstration of adding code to an event. It would be extremely irritating if every time you added a new sheet to your workbook you got the message Hello World, but fortunately there are more practical applications for adding code to events. Events are being fired off all the time when things happen on an Excel spreadsheet. You can insert code to take action on a particular event, such as a user making changes to a worksheet, and each time the event happens, your code will be run. However, you cannot do any editing in the code window until you click OK and the macro finishes running. This is because the focus of the code is on your message box window, and the focus cannot be moved anywhere else within Excel until the message box disappears.
8 10 Excel 2007 VBA Macro Programming Figure 1-5 Hello World message box on worksheet To stop this message box from appearing whenever a new sheet is loaded, delete the line MsgBox Hello World by pressing the DELETE key. Another way to prevent code from running is to turn it into a comment by putting the single quote ( ) character in front of the line: MsgBox Hello World. This line will then turn green and will not be used. Comments are also used to place explanations and descriptions of your code inside a macro so that it can be understood at a later date. More Exploring of the VBA Project Window Going back to the Project Explorer and the tree showing the project (in the top left-hand corner of screen), there are also objects for each worksheet within the workbook. A new object should now be displayed in the tree for the worksheet you inserted in the last example. Every worksheet is a separate object and is represented as such in the Project tree. Double-click any of these sheet objects, and a new code window will appear in the same way as for the workbook object. Again, the drop-down in the top-left corner shows (General), but you can click it to change it to Worksheet. Worksheets have different and fewer events than the Workbook object. Code can be inserted to execute when the sheet is activated or
9 Chapter 1: The Basics 11 Figure 1-6 VBA code to display a message box when Sheet1 is activated deactivated or when it is calculated. For example, you could enter the code shown in Figure 1-6, and each time Sheet1 is selected from the tab controls at the bottom of the Excel window, the message Sheet1 is selected will appear. Saving Off Your Macro You need to be able to save your code off along with the workbook file that you are working with. In Excel 2003, this was quite simple in that you either clicked the disk symbol on the toolbar or clicked File Save on the menu bar in the VBE window. Excel 2007 distinguishes between file types. Primarily, there is an Excel Workbook type and an Excel Macro Enabled Workbook type. When you create your initial workbook, it defaults to the standard Excel Workbook type. This means that when you create some VBA code and then try to save it, you will get an error message because the file is not Macro Enabled.
10 12 Excel 2007 VBA Macro Programming What you need to do when you first create the workbook is to immediately save it as the Excel Macro Enabled Workbook type. This will then identify your file as having macros and there will be no further problems saving your code. Enabling the Developer Item in the Excel Menu The Developer item in the Excel menu is used frequently within this book, and it is important that you have it displayed. When Excel 2007 is first installed, it is not shown by default. To make it display, click the Excel Start button in the top left-hand corner of the worksheet screen and then click Excel Options at the bottom of the window that appears. Click Popular in the menu on the left-hand side of the Options window and check the Show Developer Tab in the Ribbon box. Click OK.
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 informationVBA 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 informationCivil Engineering Computation
Civil Engineering Computation First Steps in VBA Homework Evaluation 2 1 Homework Evaluation 3 Based on this rubric, you may resubmit Homework 1 and Homework 2 (along with today s homework) by next Monday
More informationMicrosoft Excel 2007
Microsoft Excel 2007 Objective To provide a review of the new features in the Microsoft Excel 2007 screen. Overview Introduction Office Button Quick Access Toolbar Tabs Scroll Bar Status Bar Clipboard
More 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 informationCreating a new form with check boxes, drop-down list boxes, and text box fill-ins. Customizing each of the three form fields.
In This Chapter Creating a new form with check boxes, drop-down list boxes, and text box fill-ins. Customizing each of the three form fields. Adding help text to any field to assist users as they fill
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 informationMastering the Actuarial Tool Kit
Mastering the Actuarial Tool Kit By Sean Lorentz, ASA, MAAA Quick, what s your favorite Excel formula? Is it the tried and true old faithful SUMPRODUCT formula we ve all grown to love, or maybe once Microsoft
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 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 informationIntroduction to Microsoft Office 2007
Introduction to Microsoft Office 2007 What s New follows: TABS Tabs denote general activity area. There are 7 basic tabs that run across the top. They include: Home, Insert, Page Layout, Review, and View
More informationAs you probably know, Microsoft Excel is an
Introducing Excel Programming As you probably know, Microsoft Excel is an electronic worksheet you can use for a variety of purposes, including the following: maintain lists; perform mathematical, financial,
More informationthe NXT-G programming environment
2 the NXT-G programming environment This chapter takes a close look at the NXT-G programming environment and presents a few simple programs. The NXT-G programming environment is fairly complex, with lots
More informationMaximizing 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 information2. create the workbook file
2. create the workbook file Excel documents are called workbook files. A workbook can include multiple sheets of information. Excel supports two kinds of sheets for working with data: Worksheets, which
More informationExcel The primary replacement for menus and toolbars in Office Excel 2007 is the Ribbon. Designed for easy browsing, the
Excel 2007 Office Fluent user interface The primary replacement for menus and toolbars in Office Excel 2007 is the Ribbon. Designed for easy browsing, the Ribbon consists of tabs that are organized around
More informationExplore commands on the ribbon Each ribbon tab has groups, and each group has a set of related commands.
Quick Start Guide Microsoft Excel 2013 looks different from previous versions, so we created this guide to help you minimize the learning curve. Add commands to the Quick Access Toolbar Keep favorite commands
More informationLearning Worksheet Fundamentals
1.1 LESSON 1 Learning Worksheet Fundamentals After completing this lesson, you will be able to: Create a workbook. Create a workbook from a template. Understand Microsoft Excel window elements. Select
More informationUsing macros enables you to repeat tasks much
An Introduction to Macros Using macros enables you to repeat tasks much more efficiently than tediously performing each step over and over. A macro is a set of instructions that you use to automate a task.
More informationExcel Tables and Pivot Tables
A) Why use a table in the first place a. Easy to filter and sort if you only sort or filter by one item b. Automatically fills formulas down c. Can easily add a totals row d. Easy formatting with preformatted
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 informationExcel 2007/2010. Don t be afraid of PivotTables. Prepared by: Tina Purtee Information Technology (818)
Information Technology MS Office 2007/10 Users Guide Excel 2007/2010 Don t be afraid of PivotTables Prepared by: Tina Purtee Information Technology (818) 677-2090 tpurtee@csun.edu [ DON T BE AFRAID OF
More informationMacros enable you to automate almost any task that you can undertake
Chapter 1: Building and Running Macros In This Chapter Understanding how macros do what they do Recording macros for instant playback Using the relative option when recording macros Running the macros
More 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 informationGetting 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 informationMacros enable you to automate almost any task that you can undertake
Chapter 1: Building and Running Macros In This Chapter Understanding how macros do what they do Recording macros for instant playback Using the relative option when recording macros Running the macros
More informationUsing Microsoft Excel
Using Microsoft Excel Introduction This handout briefly outlines most of the basic uses and functions of Excel that we will be using in this course. Although Excel may be used for performing statistical
More informationReference Services Division Presents. Excel Introductory Course
Reference Services Division Presents Excel 2007 Introductory Course OBJECTIVES: Navigate Comfortably in the Excel Environment Create a basic spreadsheet Learn how to format the cells and text Apply a simple
More informationMicrosoft Excel - Macros Explained
Microsoft Excel - Macros Explained Macros Explained Macros or macroinstructions allow you to automate procedures or calculations in Excel. Macros are usually recorded using the Macro recorder and then
More informationCOPYRIGHTED MATERIAL. Making Excel More Efficient
Making Excel More Efficient If you find yourself spending a major part of your day working with Excel, you can make those chores go faster and so make your overall work life more productive by making Excel
More informationYou might think of Windows XP as a set of cool accessories, such as
Controlling Applications under Windows You might think of Windows XP as a set of cool accessories, such as games, a calculator, and an address book, but Windows is first and foremost an operating system.
More informationMicrosoft Excel 2013 Unit 1: Spreadsheet Basics & Navigation Student Packet
Microsoft Excel 2013 Unit 1: Spreadsheet Basics & Navigation Student Packet Signing your name below means the work you are turning in is your own work and you haven t given your work to anyone else. Name
More informationSkills Exam Objective Objective Number
Overview 1 LESSON SKILL MATRIX Skills Exam Objective Objective Number Starting Excel Create a workbook. 1.1.1 Working in the Excel Window Customize the Quick Access Toolbar. 1.4.3 Changing Workbook and
More informationExcel programmers develop two basic types of spreadsheets: spreadsheets
Bonus Chapter 1 Creating Excel Applications for Others In This Chapter Developing spreadsheets for yourself and for other people Knowing what makes a good spreadsheet application Using guidelines for developing
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 informationSpreadsheet Structure
Exercise The intersection of columns and rows in a spreadsheet creates cells. Each cell on a spreadsheet has a name or address. It is named according to its location, the name of the column first followed
More informationChapter-2 Digital Data Analysis
Chapter-2 Digital Data Analysis 1. Securing Spreadsheets How to Password Protect Excel Files Encrypting and password protecting Microsoft Word and Excel files is a simple matter. There are a couple of
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 informationGetting S tarted w ith E xcel
Lesson 1 - Getting Started with Excel 1 Lesson 1 Getting S tarted w ith E xcel Les s on Topics Using Excel The Workbook Exiting Excel Les s on Objectives At the end of the lesson, you will be able to:
More informationCreate your first workbook
Create your first workbook You've been asked to enter data in Excel, but you've never worked with Excel. Where do you begin? Or perhaps you have worked in Excel a time or two, but you still wonder how
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 informationYou 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 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 informationIntroduction to Microsoft Excel
Intro to Excel Introduction to Microsoft Excel OVERVIEW In this lab, you will become familiar with the general layout and features of Microsoft Excel spreadsheet computer application. Excel has many features,
More informationdownload 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 informationRev Up to Excel 2010
Rev Up to Excel 2010 Upgraders Guide to Excel 2010 by Bill Jelen Published by H OLY MACRO! BOOKS PO Box 82, Uniontown, OH 44685 Contents About the Author Dedication Acknowledgements v v v Introduction
More informationIntroduction... 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 informationThis book is about using Visual Basic for Applications (VBA), which is a
In This Chapter Describing Access Discovering VBA Seeing where VBA lurks Understanding how VBA works Chapter 1 Where VBA Fits In This book is about using Visual Basic for Applications (VBA), which is a
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 2013 Getting Started
Excel 2013 Getting Started Introduction Excel 2013 is a spreadsheet program that allows you to store, organize, and analyze information. While you may think that Excel is only used by certain people to
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 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 informationDOWNLOAD 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 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 informationThe first thing we ll need is some numbers. I m going to use the set of times and drug concentration levels in a patient s bloodstream given below.
Graphing in Excel featuring Excel 2007 1 A spreadsheet can be a powerful tool for analyzing and graphing data, but it works completely differently from the graphing calculator that you re used to. If you
More informationSorting and Filtering Data
chapter 20 Sorting and Filtering Data IN THIS CHAPTER Sorting...................................................... page 332 Filtering..................................................... page 337 331
More informationWorking with Excel CHAPTER 1
CHAPTER 1 Working with Excel You use Microsoft Excel to create spreadsheets, which are documents that enable you to manipulate numbers and formulas to quickly create powerful mathematical, financial, and
More informationIntro To Excel Spreadsheet for use in Introductory Sciences
INTRO TO EXCEL SPREADSHEET (World Population) Objectives: Become familiar with the Excel spreadsheet environment. (Parts 1-5) Learn to create and save a worksheet. (Part 1) Perform simple calculations,
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 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 informationManual Data Validation Excel 2010 List From Another Workbook
Manual Data Validation Excel 2010 List From Another Workbook It is quite easy to create a data validation drop down list among worksheets you will learn how to create a drop fown list from another workbook
More informationEXCEL 2010 BASICS JOUR 772 & 472 / Ira Chinoy
EXCEL 2010 BASICS JOUR 772 & 472 / Ira Chinoy Virus check and backups: Remember that if you are receiving a file from an external source a government agency or some other source, for example you will want
More informationWorking with Excel involves two basic tasks: building a spreadsheet and then manipulating the
Working with Excel You use Microsoft Excel to create spreadsheets, which are documents that enable you to manipulate numbers and formulas to create powerful mathematical, financial, and statistical models
More informationExcel Macros, Links and Other Good Stuff
Excel Macros, Links and Other Good Stuff COPYRIGHT Copyright 2001 by EZ-REF Courseware, Laguna Beach, CA http://www.ezref.com/ All rights reserved. This publication, including the student manual, instructor's
More informationExcel Basics: Working with Spreadsheets
Excel Basics: Working with Spreadsheets E 890 / 1 Unravel the Mysteries of Cells, Rows, Ranges, Formulas and More Spreadsheets are all about numbers: they help us keep track of figures and make calculations.
More informationGetting Started with Excel
Getting Started with Excel Introduction Excel is a spreadsheet program that allows you to store, organize, and analyze information. In this lesson, you will learn your way around the Excel 2010 environment,
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 Power Tools for Data Analysis #04: Power Query: Import Multiple Excel Files & Combine (Append) into Proper Data Set.
Microsoft Power Tools for Data Analysis #04: Power Query: Import Multiple Excel Files & Combine (Append) into Proper Data Set Table of Contents: Notes from Video:. Goal of Video.... Main Difficulty When
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 informationMODULE III: NAVIGATING AND FORMULAS
MODULE III: NAVIGATING AND FORMULAS Copyright 2012, National Seminars Training Navigating and Formulas Using Grouped Worksheets When multiple worksheets are selected, the worksheets are grouped. If you
More informationUsing Microsoft Access
Using Microsoft Access USING MICROSOFT ACCESS 1 Interfaces 2 Basic Macros 2 Exercise 1. Creating a Test Macro 2 Exercise 2. Creating a Macro with Multiple Steps 3 Exercise 3. Using Sub Macros 5 Expressions
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 informationDesigned by Jason Wagner, Course Web Programmer, Office of e-learning NOTE ABOUT CELL REFERENCES IN THIS DOCUMENT... 1
Excel Essentials Designed by Jason Wagner, Course Web Programmer, Office of e-learning NOTE ABOUT CELL REFERENCES IN THIS DOCUMENT... 1 FREQUENTLY USED KEYBOARD SHORTCUTS... 1 FORMATTING CELLS WITH PRESET
More informationKeep Track of Your Passwords Easily
Keep Track of Your Passwords Easily K 100 / 1 The Useful Free Program that Means You ll Never Forget a Password Again These days, everything you do seems to involve a username, a password or a reference
More informationDealing with the way Mail Merge changed in MS Word 2003
Dealing with the way Mail Merge changed in MS Word 2003 Go From This: To This: The New and Improved Mail Merge Mail Merge has changed dramatically from the older versions of Word. They just forgot to tell
More informationExtending 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 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 informationTaskbar: Working with Several Windows at Once
Taskbar: Working with Several Windows at Once Your Best Friend at the Bottom of the Screen How to Make the Most of Your Taskbar The taskbar is the wide bar that stretches across the bottom of your screen,
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 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 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 informationACCT 133 Excel Schmidt Excel 2007 to 2010 Conversion
ACCT 133 Excel Schmidt Excel 2007 to 2010 Conversion Note: Use this handout in connection with the handout on the parts of the Excel 2010 worksheet. This will allow you to look at the various portions
More informationOutlook Web Access. In the next step, enter your address and password to gain access to your Outlook Web Access account.
Outlook Web Access To access your mail, open Internet Explorer and type in the address http://www.scs.sk.ca/exchange as seen below. (Other browsers will work but there is some loss of functionality) In
More informationMy Top 5 Formulas OutofhoursAdmin
CONTENTS INTRODUCTION... 2 MS OFFICE... 3 Which Version of Microsoft Office Do I Have?... 4 How To Customise Your Recent Files List... 5 How to recover an unsaved file in MS Office 2010... 7 TOP 5 FORMULAS...
More informationVISUAL 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 informationMaking Excel Work for Your Tribal Community
Making Excel Work for Your Tribal Community Excel Basics: Intermediate Skills PHONE: 1-800-871-8702 EMAIL: INFO@CBC4TRIBES.ORG WEB: TRIBALINFORMATIONEXCHANGE.ORG MAKING EXCEL WORK FOR YOUR TRIBAL COMMUNITY
More informationAdvanced Excel Skills
Advanced Excel Skills Note : This tutorial is based upon MSExcel 2000. If you are using MSExcel 2002, there may be some operations which look slightly different (e.g. pivot tables), but the same principles
More informationMicrosoft Excel 2010 Training. Excel 2010 Basics
Microsoft Excel 2010 Training Excel 2010 Basics Overview Excel is a spreadsheet, a grid made from columns and rows. It is a software program that can make number manipulation easy and somewhat painless.
More informationGetting Acquainted with Office 2007 Table of Contents
Table of Contents Using the New Interface... 1 The Office Button... 1 The Ribbon... 2 Galleries... 2 Microsoft Help with Changes... 2 Viewing Familiar Dialog Boxes... 2 Download Get Started Tabs from Microsoft...
More informationFilter and PivotTables in Excel
Filter and PivotTables in Excel FILTERING With filters in Excel you can quickly collapse your spreadsheet to find records meeting specific criteria. A lot of reporters use filter to cut their data down
More informationBASIC 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 information5. Excel Fundamentals
5. Excel Fundamentals 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
More informationContents. 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 informationMICROSOFT OFFICE. Courseware: Exam: Sample Only EXCEL 2016 CORE. Certification Guide
MICROSOFT OFFICE Courseware: 3263 2 Exam: 77 727 EXCEL 2016 CORE Certification Guide Microsoft Office Specialist 2016 Series Microsoft Excel 2016 Core Certification Guide Lesson 1: Introducing Excel Lesson
More informationThis book is about using Microsoft Excel to
Introducing Data Analysis with Excel This book is about using Microsoft Excel to analyze your data. Microsoft Excel is an electronic worksheet you can use to perform mathematical, financial, and statistical
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 informationMicrosoft Excel 2010 Basic
Microsoft Excel 2010 Basic Introduction to MS Excel 2010 Microsoft Excel 2010 is a spreadsheet software in the new Microsoft 2010 Office Suite. Excel allows you to store, manipulate and analyze data in
More informationThe Energy Grid Powerful Web Marketing for the Alternative Energy Industry
The Energy Grid Powerful Web Marketing for the Alternative Energy Industry The Energy Grid 105 Rt 101A, Unit 18 Amherst, NH 03031 (603) 413-0322 MCR@TheEnergyGrid.com Terms & Disclaimer: USE THIS PROGRAM
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 informationTroubleshooting in Microsoft Excel 2002
Page 1 of 8 Troubleshooting in Microsoft Excel 2002 Result: To understand how to work with the Excel software to enter data, navigate the page, and print materials. Tabs Look at the tabs at the bottom
More information