Microsoft Visual Basic 2010 (Level 3)

Size: px
Start display at page:

Download "Microsoft Visual Basic 2010 (Level 3)"

Transcription

1 IT Training Microsoft Visual Basic 2010 (Level 3) Contents Introduction...2 The Developer Tab...2 Objects & Collections...2 Workbook and Worksheet Objects...2 Methods, Properties and Events...3 Absolute and Relative Referencing...3 Variables and Arrays...4 Defining Variable/Array Types...4 Variant Arrays...5 Input/Output...6 Output...6 Input...6 Loops...7 For Next...7 While Wend...8 Do Loop...8 Nested Loops...9 Conditional Statements...9 If Then...9 If Then Else GoTo File Input/Output Opening and Closing Files Input # Print # and Write # Help Exercise... 12

2 Introduction Visual Basic is the programming language used for writing macros. This document covers some of the commonly-used features of the language. If you are not already familiar with creating a macro in Excel, work through Microsoft Excel 2013: Macros before attempting these notes. The Developer Tab Begin by opening the example file used in the course (this already has several macros, to save you writing the code yourself as you'll see the code has to be very precisely written): 1. Load up Excel as usual then press <Ctrl o> (or use Open from the File tab) 2. Double click on My Computer then again on Data (D):, open the Training folder and then the file vba.xlsm (if you are working on your own computer you can load the file by clicking on the link provided here) Next, display the Developer tab on the Ribbon. There is a [Macros] button on the View tab, but it's easier to use the set of buttons on the Developer tab: 1. Move to the File tab and choose Options followed by Customize Ribbon 2. In the list on the right, turn on the Developer check box 3. Press <Enter> for [OK] to display the tab (and close the Excel Options dialog box) Objects & Collections Before looking at the macros in the example file, it's important to understand the structure used in Visual Basic programming. The fundamental building blocks are called Objects. In Excel, the most-frequently used objects are Workbook, Worksheet, Sheet, and Range. While a Worksheet object only represents a worksheet, a Sheet can be any type of sheet (eg a chart sheet). A Range can refer to a single cell or range of cells. Other common objects include Charts and PivotTables. A Collection is a group of objects of the same class. Workbook and Worksheet Objects A Workbook is an Excel file. The workbook collection contains all the Excel files currently open. Every workbook contains at least one Worksheet. The worksheet collection consists of all the worksheets in the workbook (excluding any chart sheet or macro sheet). In VBA, Workbook /Worksheets are always referenced in plural. In VBA, a worksheet can be referenced directly (its name in quotes) or via a number index: Worksheets(sheetname) - eg Worksheets("Sheet1") is the worksheet named "Sheet1" Worksheets(number) eg Worksheets(1) is the leftmost worksheet in the collection Note that Worksheets(1) is not necessary the same sheet as Worksheets("Sheet1"). Sheets is a collection of worksheets, chart sheets and macro sheets (if present). A sheet can be indexed just like a worksheet. Sheets(1) is the leftmost sheet, no matter what sort of sheet it is. Note also that you can use ActiveSheet to refer to a sheet (also ActiveSheet.Next and ActiveSheet.Previous). To refer to sheets (or other objects) with the same name, you have to name it precisely. For example: Workbooks("Book1").Worksheets("Sheet1") Workbooks(2).Worksheets("Sheet1") If the object is not named specifically, the active or the current object (ie workbook or worksheet) is used. The white sheet tab at the bottom of the spreadsheet shows which sheet is currently active. 2

3 Methods, Properties and Events Each object can have its own methods, properties and events. A Method is an action performed on an object. A Property is a built-in (or user-defined) characteristic of the object. You can program an Event to occur when a workbook is created or opened, when another sheet is activated, or when a PivotTable is created. Events are rarely used by the average programmer and are not dealt with in this document. Below are examples of some methods: Workbooks.Close - closes the active workbook ActiveSheet.Delete to delete the active worksheet (the dialog box is displayed) Worksheets("Sheet2").Delete deletes Sheet2 (but doesn't change which sheet is active) Worksheets("Sheet4").Copy copies Sheet4 to a new workbook ActiveSheet.Copy After="Sheet1" copies active worksheet and places it after Sheet1 Sheets("Chart1").Activate makes Chart1 the active sheet Sheets("Chart2").PrintPreview previews Chart2 (.PrintOut prints out the chart) Worksheets.Add creates a new worksheet, which is then activated Range("A1").Select selects cell A1 Worksheets(1).Columns("A:B").AutoFit autofits columns A and B on first sheet ActiveSheet.Range("A1:D9").Sort sorts A1 to D9 on active sheet using values in column A And here are some examples of properties: Worksheets.Count tells you how many worksheets are currently open (ditto for Workbooks) Range("A1").Value = 10 puts a value of 10 in cell A1 Range("A1") = 10 the default property for a Range is Value, so this can be omitted Selection.Value = "Profit" puts the Word Profit in the active cell (Value can be omitted) ActiveSheet.Name = "Results" renames the active sheet as Results Absolute and Relative Referencing There are two ways of referencing in VBA - absolute and relative. Firstly, absolute references: Range("A1").Select an absolute reference which makes cell A1 the active cell Range("A2:A10") = Range("A1") * 10 stores ten times A1 s value in cells A2 to A10 Cells(1,3) = "hello" puts hello in cell C3; Cells(row,column) can also be used Relative references can have two components. Firstly there's an offset which is denoted using the number of rows and columns away from the active cell. Only positive values are allowed. ActiveCell.Offset(0, 1) = "x" this puts an x in the cell to the right of the active cell ActiveCell.Offset(1, 0).Select this selects the cell below the current active cell ActiveCell.Offset(0,1) = ActiveCell * 2 puts twice the active cell in the cell to right Secondly, you can also select a range relative to the offset. With this, Range("A1") denotes the offset cell, not the cell in the first row of the left column of the whole worksheet. Though confusing, you soon get used to it. ActiveCell.Offset(3,0).Range("B1").Select selects the cell in the column to the right (column B), three rows down 3

4 Now try out the first macro in the example file and see if you can understand what's happening at each stage: 1. On the Developer tab, click on the [Macros] button 2. Select Macro1 then click on [Edit] This will take you into the Visual Basic Editor. Before running the macro, decrease the size of the VBE window so that you can see the Excel worksheet at the same time: 3. [Maximize] the inner code window, if necessary, and [Close] the two panes on the left 4. Using the mouse, point to the far left of the VBE window and drag it to the right so that it occupies only half the screen (if the window is maximized, you'll need to click on [Restore Down] first) 5. Now run the macro by pressing <F8> - this steps through the lines one at a time (the arrow and yellow highlight indicates where the macro has reached) 6. Repeat step 5 until the last statement (End Sub) is no longer highlighted Make sure you understand the statements as they are performed. You can repeat the macro a second time by pressing <F8> again, should you so wish. Variables and Arrays Considerable use is made of variables and arrays in VBA programming. A variable can be thought of as equivalent to a cell on a worksheet in that it can store data (and that data can be replaced by new values, as can happen if you change the data in an Excel cell). An array is equivalent to a range of cells (a row, column or block) and is essentially a set of variables. Variables and arrays are given names, in the same way a cell or range of cells can be named (eg spaces are not allowed in a variable or array name). Defining Variable/Array Types By default, any type of data can be held in a variable, so at one point it could hold a number and at another some text. This is not recommended, however, and the type of variable should be declared explicitly. A variable or array can be restricted to hold certain kinds of data in a similar way to a Format (eg Date or Text) being applied to a cell. This is done through a DIM statement (a single quote introduces a comment): Dim x As String ' variable x is for text Dim A2 As String ' variable names can include a number Dim i, j As Integer ' variables i and j are for whole numbers Dim birthday As Date ' variable birthday is for a date Dim y As Double ' variable y is for double-precision numbers Dim xx as variant ' any sort of data can be held in variable xx Note: An older notation was to define an integer or string using a % or $ sign (respectively) attached to the variable name. Thus, if the number 12.4 was stored in a variable w%, it would be stored as 12. This notation can still be used but such variables cannot be defined using DIM (ie Dim x$ as String gives an error). Arrays are a simple way to define a series of variables using a single name. When defining an array, the number of items which form the array should be declared. These are known as the array bounds. Arrays can be one-dimensional (similar to a row or column of cells) or two-dimensional (like a block of cells). You can in fact have even more dimensions! Dim x(10) as String Dim m(2,2) as Single Dim z(5 to 9) as Date ' defines 10 variables called x(1), x(2), x(3)... x(10) for storing text ' defines 4 variables called m(1,1), m(1,2), m(2,1) and m(2,2) for numbers ' defines 5 variables z(5), z(6)... z(9) for storing dates 4

5 Note: By default, array bounds start at zero. Thus, in the first example above, there is also an x(0). In the second example, there are 5 extra elements m(0,0), m(0,1), m(0,2), m(1,0) and m(2,0). The explicit declaration in the third example, however, means that only these elements exist. You don't have to use these extra elements if you don't want to and you can define a lower bound of 1 using an Option Base 1 statement at the very top of your VBA code (this sets the default for all the macros in that file). Variant Arrays Often, the data held in a row, column or block of cells differs in type (text, numbers, dates etc) or the type may be unknown. When this is the case, a variant array can be defined: Dim myrow(3) as Variant myrow(1) = 5 myrow(2) = "Yes" myrow(3) = "31/Dec/1999" ' myrow is an array of 3 values ' a number is stored in myrow(1) ' text is stored in myrow(2) ' a date is stored in myrow(3) The Array function can be used to supply data to a variant array. The example below first declares the variable as variant, then defines it as an array containing the specified values. Dim players As Variant players = Array("Ron", "Dan", "Fred", "Tim", "Chris", "Paul", _ "Jon", "Jamie", "Sam", "Pete") MsgBox(players(3)) ' displays Tim Ron is in players(0) Note the underscore at the end of the second line in this example. This character is used to indicate that the statement continues onto a second line. Let s see how variables and arrays work by running Macro2. 1. The VBA window should still be displayed if not, click on the [Macros] button and [Edit] Macro2 2. Click on Macro2 then use <F8> to step through the macro This macro picks up the values from an array x which is declared as variant so that it can hold any data. The variable w can only hold whole numbers (it s declared as integer). If a variable is used or declared within a macro, the value stored in it is only held while the macro is running. Try running Macro2 again: 3. Run the macro again, using <F8> (or <F5> if you just want to run it rather than step through it) you should find nothing has changed w has no value when the macro is started You can, however, retain the value so that it can be used in other macros. To do this, you have to declare it outside the macros. 4. Add a single quote before the DIM w as Integer statement in the macro (to turn it into a comment ) 5. Using the scroll bar, move to the very top of the VBA display and delete the single quote from the DIM statement here, to activate it 6. Click anywhere within Macro2 and run it again (using <F8> or <F5>) the cell is left empty as w has now been declared variant (it was set to 0 when declared an integer) 7. Repeat step 6 to run it a second time - this time A2 is set to 10 The value is held because w is declared in the DIM statement above the macros. If you run it a third time, its value becomes 20. Finally, try adding a statement which gets rid of the zeroth element of the array: 8. Uncomment the statement Option Base 1 at the very top of the VBA pane above the DIM 9. Click on Macro2 then press <F5> to run it You should find the word data appears in cell A2; an error message also appears: 10. Press <Enter> for [Debug] then correct the statement to read ActiveSheet.Name = x(1) 11. Press <F8> or <F5> to complete the macro 5

6 Input/Output Sometimes, when running a macro, a user needs to interact with the program - either to supply some data or be told some information. The latter is often used when developing a macro, to test whether the code is running correctly. The following sections deal with what is known as Input and Output. Output The code needed to get information from a macro is the Msgbox statement. This can be used either to relay a fixed message (eg that the macro has reached a particular point in the code) or to give the current value of a variable used in the program or data held in a cell. When a Msgbox statement is run, a dialog box appears on the screen, which must be OK'd by the user. Note that Msgbox requires a string argument non-strings can easily be converted using the Cstr function. Below are some examples: Msgbox("Here") or Msgbox "Here" ' the macro has reached this point Msgbox(A) Msgbox(Cstr(x)) ' displays what s held in string A ' displays the number held in x Msgbox("x = " & Cstr(x)) ' as above but adds x = Msgbox(Cstr(Range("C2"))) Msgbox ActiveSheet.Name ' displays the value held in cell C2 ' displays the active sheet's name The default dialog box simply has an [OK] button but further buttons can be added by including a prompt parameter after the message. Prompt value 4, for example, gives [Yes] and [No] buttons. The macro can then detect which response has been chosen and can act accordingly. The example below both displays the dialog box and acts on the result. See Visual Basic online help for full details. If MsgBox("Continue?",4) = vbno Then End 'see IF later Input To supply information to a macro, an Inputbox statement is used. This could take the form of a reply to a question or to supply a data value. The information will then be passed to the macro via a variable, which can then be used to determine what happens next. Again, a dialogue box is displayed to which the user must respond. Range("C1") = Inputbox("Input value for cell C1") Q = Inputbox("Do you want to continue (Yes or No)?") If Q = "No" Then End 'see IF later in these notes x = Inputbox("How many rows of data are there?") For i = 1 to x 'see LOOPS later in these notes The first example supplies a value to a particular cell while the other two examples supply values for later use in the macro, as indicated by the indented comments which follows. Macro3 has some input/output statements: 1. Click inside Macro3 then use <F8> to run through it 2. Press <F5> (or use <F8> again) if you want to try it a second time 6

7 Loops By using loops, macros can process a lot of data in Excel. These are set up around other instructions to carry them out a set number of times or until a particular condition is reached. There are three main statement pairs which are used to create loops; each has one statement marking the start of the loop and the other its end. These are: For Next, While Wend and Do Loop For Next Perhaps the simplest pair of statements is For Next. The For statement sets up a variable which increases in value by 1 each time the loop is completed. The Next statement marks the end of the loop, sending the macro back to the For statement. This statement also checks whether the loop has exceeded its final value and, if it has, passes control to the statement following the Next statement. Normally, the loop variable starts with a value of 1 but this needn't be the case (for example, you may want the macro to work from a particular row on a worksheet). The increase value (step value) is also usually 1 but needn't be; indeed negative or fractional steps can also be used. Here are some examples: For i = 1 to 10 ' this example sets the Cells(i,1) = i ' values in cells A1 to A10 Next i ' equal to 1, 2,... 9, 10 For j = 5 to 8 ' this example sets the Range("A"&CStr(j)) = j*j ' values in cells A5 to A8 Next j ' equal to 25, 36, 49 & 64 For k = 0 to 9 step 2 ' this example sets cell Range("A"&CStr(k+1)) = k ' A1 to 0, A3 to 2, A5 to 4 Next k ' A7 to 6 and A9 to 8 For m = 10 to 1 step -1 Cells(11-m,1) = Cells(m,2) Next m For Each y In Range( A1:A5 ) Cells(y,2) = y Next y ' this picks up data from ' column B, starting in B10 ' so A1 = B10, A2 = B9 etc ' this uses the values ' stored in cells A1 to A5 ' to set the values for y To jump out of a loop at any time, use an Exit For statement: For i = 1 To 100 ' the loop ends when a # is x = InputBox("Enter data") ' entered as data If x = "#" Then Exit For Else Cells(i, 1) = x Next i Msgbox CStr(i-1) & " rows of data" ' says how many rows entered A more complicated form of For Next is the For Each Next statement. This can be used to pick up loop values from a cell range, or to repeat a loop for each member of an array or each object in a collection (for example, each cell in a range). Visual Basic can automatically set up a counter for the loop if none is specified: 7

8 For Each y In Range("A1:A5") Cells(y,2) = y Next y ' this uses the values ' stored in cells A1 to A5 ' to set the values for y Dim Test(10) as Array ' Test is an array of 10. For Each i in Test ' this example stores the Test(i) = Range("A"&CStr(i)) ' contents of cells A1 to Next i ' A10 in the array Dim x as Range ' x is defined as a Range. For Each x in Range("A1:A10") ' the example works through x.clearformats ' the cells A1 to A10 x = 0 ' clearing any formatting Next x ' then setting them to 0 While Wend An alternative form of looping is provided by the While statement. An examples is given below. While i < 10 ' this example runs until X = Selection ' it finds 10 # in a column If X = "#" then i = i + 1 ActiveCell.Offset(1, 0).Range("a1").Select Wend Do Loop Yet another way of looping is provided by the Do statement: Do Until j = 999 ' this example runs down a ActiveCell.Offset(1, 0).Range("a1").Select j = Selection ' column until it finds a Loop ' value of 999 Do While j <> 999 ' could also be used An alternative form uses a While or Until statement to mark the end of the loop: Do ActiveCell.Offset(1, 0).Range("a1").Select j = Selection ' here while marks the While j < 999 ' end of the loop Until j = 999 ' could also be used Macro4 contains examples of all the different types of loops try running it next: 1. Click inside Macro4 then use <F8> to run through it 2. Using the mouse, position the cursor over any variable (loop counter) to see its current value 8

9 Nested Loops One loop can be placed inside another. In Excel, one loop can be used to control the columns, the other the rows. In the second example below, the first loop determines which worksheet is used. For i = 1 to 10 ' Cells A1 to B5 are filled For j = 1 to 5 ' with values from 1 to 5 Cells(i, j) = i*j ' then row 2 with 2, 4, 6, Next j ' 8, 10 down to row 10 with Next i ' 10, 20, 30, 40, 50 Dim Sht as Worksheet ' This example works For Each Sht in Worksheets ' through the data on each Do Until j = 999 ' worksheet in a file until ' statements to be looped ' an end-of-data value of Loop ' 999 is found then moves Next Sht ' on to the next sheet Macro5 shows an example of a nested loop: 1. Click inside Macro5 then use <F8> to step through it Note how the inner (j) loop is executed each time the outer (i) loop is run again, you can use the mouse to check the progress by looking at the values held in i and j. Conditional Statements Conditional statements are used to carry out one or more instructions in a macro only if a test is true. They can be used to give alternative values or actions, or set alternative routes through the macro If Then The simplest conditional statement performs a single action if the test is true: If Selection < 1 Then Selection = 0 If Selection = "" Then ActiveCell.Offset(0, 1) = "missing data" If Selection = "" Then Selection = InputBox("Enter a value") If Sheet.Name <> "Sheet1" then MsgBox("Start Macro from Sheet1") Tests can be made more complex by the use of And, Or or Not: If Not Selection >=0 Then Selection = 0 ' -ve values set to 0 If A = "yes" Or A = "y" Then... 'answer can be y or yes If A = "y" And Selection = 0 Then Inputbox("Input new value") 9

10 If Then Else A more complex form of the If statement is If Then Else. This lets you set up an alternative action or set of statements if the conditional test isn't true: If ActiveCell = "" Then ActiveCell = 0 _ Else ActiveCell.Offset(1,0).Select If ActiveCell = "" Or ActiveCell = " " _ Then ActiveCell = 0 _ Else ActiveCell.Offset(1,0).Select ' sets an empty cell ' to 0 or moves down ' this checks for an ' empty cell or one ' with a space Several statements can be included within a conditional: If Q = "Yes" Then ' Type in your statements here ElseIf Q = "No" Then ' Type in your statements here Else ' Type in your statements here End If Macro6 includes some conditional statements: 1. Click inside Macro6 then use <F8> to step through it, typing a value less than 1 or greater than 10 when asked - the macro will end prematurely 2. Rerun the macro (press <F8>) but type in a valid value A somewhat obscure form of the IF statement is #IF. This can be used to create a macro which will perform different code according to the operating system: GoTo #If Win32 Then ' Place 32-bit Windows statements here #ElseIf Win64 Then '. Place 64-bit Windows statements here #Else '. Place Mac statements here #End If A GoTo statement jumps to a named statement rather than to the next one in the macro. The jump could be forwards or backwards. Using GoTo is considered by purists to be a lazy way of programming as the macro statements can usually be rewritten to produce the same result. : question: Selection = InputBox("What percentage is a half?") If Selection <> 50 Then ' This tests to see whether Msgbox("Wrong, try again") ' a question has been GoTo question ' answered correctly and Else MsgBox ("Correct") ' asks it again if the EndIf ' answer was wrong 10

11 Macro6 was annoying in that you didn't get a second chance if you typed in a number which was out-ofrange. To get over this problem, activate the GoTo statement: 1. Edit Macro6 to remove the single quote comment before the statement GoTo again 2. Press <F8> to step through the macro and again type in a value less than 1 or greater than Now you are given a second chance type in a valid number then press <F5> to run the macro to completion File Input/Output Using a macro, you can open one or more files either to get data or write it out. For example, you might want to process a series of files, picking up data from each and storing that data in another file. The relevant statements are covered below. Opening and Closing Files The Open statement is used to open a file. You have to state whether you want to use the file for input or output when you open it. Open "data1.txt" For Input As #1 Open "res-5.xls" For Output As #3 Open "keep.xls" For Append As #2 ' Open file data1.txt for input ' Open res-5.xls for output ' Add more data to keep.xls Note: A file can also be opened for both input and output simultaneously using For Random see the online Help provided by Microsoft for further details. Files should be closed using a Close # statement once you have finished using them: Close #1 ' Closes the file opened as #1 Input # An Input # statement is used to get data from a file which has previously been opened. Note the EOF function, which can usefully be used to detect the end of the file: Do While Not EOF(2) ' Loop until end of file on #2 Loop Input #2, a, b, c Close #2 ' Read data into 3 variables ' Close file An alternative form of the Input # statement is Line Input #. This reads a whole line of text at a time, which is stored in a single variable. Line Input #2, xxx ' Read data into variable xxx Print # and Write # 11

12 Two statements are provided for writing information to a file, Print # and Write #. When using a Print # statement, it's up to the user to specify how the data is to be written. A Write # statement automatically inserts commas between items and quotation marks around strings as they are written to the file. Print #3, "Output Results" Print #3, Print #3, "x" ; Spc(5) ; "y" Print #3, x; Tab ; y ' Prints specified text to file ' Print a blank line ' Separate strings with 5 spaces ' Separate x and y by a tab Print #1, Tab(6) ; "End" ' Print End at column 6 Write #1, x, y, z Write #1, Write #1, "End of data" ' Separates x, y, z by commas ' Writes out a blank line Macro7 covers an example of using other files both for input and output: 1. Click inside Macro7 then use <F8> to step through it ' Outputs "End of data" in quotes This is quite a complicated macro, so watch carefully what is happening at each stage. Note that the macro creates a file called testing.txt and a new Excel file each time it runs, which you may want to delete. Help Microsoft provides extensive (if sometimes incomprehensible) help on VBA. For example, to see the list of possible methods/properties for an object: 1. Press click on the [Help] button (the question mark) in the VBA editor (or press <F1>) 2. In the Search here box type the required keywords eg worksheet object 3. To see the possible methods/properties, click on Worksheet Object Members 4. Select a Method (eg Activate) and note the example at the foot of the help page 5. End by closing the Help system It's also worth using a search engine (such as Google) to get examples of VBA programming from elsewhere on the web. Exercise Macro8 is currently empty. Try writing your own macro following what you have learnt. You can, if you want, follow the following instructions, which make use of the currently unused Sheet3. You'll find that as you type an object you are prompted by VBA with the required syntax and possible methods/properties/events. To speed up typing, you can use the arrow keys to move up and down the lists to select the required property etc then press <Ctrl Enter> to add it to your statement. As you write your statements, it's worth checking each in turn to see whether it works properly by running the macro. Note that if you step through the macro (<F8>) you can edit a statement and then reset the next line to be run simply by dragging the yellow arrow up or down the VBA statements. 1. Get the macro to move to a particular cell (the Range statement) 2. Fill that cell with a value 3. Store the value in a variable (call it x) 4. Move to the top of an empty column 5. Set up a loop to fill the column with x occurrences of your name 6. Fit the column width to the text (Autofit) 12

13 7. Get the macro to ask whether you would like to run again 8. Set up a statement which will go back to the start if you answer Yes Trademark owned by Microsoft Corporation. Screen shot(s) reprinted by permission from Microsoft Corporation. Copyright 2012: The University of Reading Last Revised: May

Microsoft Word 2010 Mail Merge (Level 3)

Microsoft Word 2010 Mail Merge (Level 3) IT Services Microsoft Word 2010 Mail Merge (Level 3) Contents Introduction...1 Creating a Data Set...2 Creating the Merge Document...2 The Mailings Tab...2 Modifying the List of Recipients...3 The Address

More information

Excel macros made easy

Excel macros made easy IT Training Excel macros made easy Jane Barrett, IT Training & Engagement Team Information System Services Version 1.1 Scope Learning outcomes Understand the concept of what a macro is and what it does.

More information

Sample Table. Columns. Column 1 Column 2 Column 3 Row 1 Cell 1 Cell 2 Cell 3 Row 2 Cell 4 Cell 5 Cell 6 Row 3 Cell 7 Cell 8 Cell 9.

Sample Table. Columns. Column 1 Column 2 Column 3 Row 1 Cell 1 Cell 2 Cell 3 Row 2 Cell 4 Cell 5 Cell 6 Row 3 Cell 7 Cell 8 Cell 9. Working with Tables in Microsoft Word The purpose of this document is to lead you through the steps of creating, editing and deleting tables and parts of tables. This document follows a tutorial format

More information

Using Pivot Tables in Microsoft Excel 2003

Using Pivot Tables in Microsoft Excel 2003 Using Pivot Tables in Microsoft Excel 2003 Introduction A Pivot Table is the name Excel gives to what is more commonly known as a cross-tabulation table. Such tables can be one, two or three-dimensional

More information

Programming in Access VBA

Programming in Access VBA PART I Programming in Access VBA In this part, you will learn all about how Visual Basic for Applications (VBA) works for Access 2010. A number of new VBA features have been incorporated into the 2010

More information

RIT Installation Instructions

RIT Installation Instructions RIT User Guide Build 1.00 RIT Installation Instructions Table of Contents Introduction... 2 Introduction to Excel VBA (Developer)... 3 API Commands for RIT... 11 RIT API Initialization... 12 Algorithmic

More information

USC Marshall School of Business Marshall Information Services

USC Marshall School of Business Marshall Information Services USC Marshall School of Business Marshall Information Services Excel Dashboards and Reports The goal of this workshop is to create a dynamic "dashboard" or "Report". A partial image of what we will be creating

More information

Migrating to Excel 2010 from Excel 2003 - Excel - Microsoft Office 1 of 1

Migrating to Excel 2010 from Excel 2003 - Excel - Microsoft Office 1 of 1 Migrating to Excel 2010 - Excel - Microsoft Office 1 of 1 In This Guide Microsoft Excel 2010 looks very different, so we created this guide to help you minimize the learning curve. Read on to learn key

More information

Microsoft Excel 2013 Splitting Windows and Fixing Panes (Level 3)

Microsoft Excel 2013 Splitting Windows and Fixing Panes (Level 3) IT Training Microsoft Excel 2013 Splitting Windows and Fixing Panes (Level 3) Contents Introduction...1 Splitting the Window...1 Removing the Split...2 Viewing Different Worksheets...2 Freezing Panes...4

More information

Microsoft Office. Mail Merge in Microsoft Word

Microsoft Office. Mail Merge in Microsoft Word Microsoft Office Mail Merge in Microsoft Word TABLE OF CONTENTS Microsoft Office... 1 Mail Merge in Microsoft Word... 1 CREATE THE SMS DATAFILE FOR EXPORT... 3 Add A Label Row To The Excel File... 3 Backup

More information

Introducing VBA Message Boxes

Introducing VBA Message Boxes Introducing VBA Message Boxes It's All About Communication When you build a tool for someone else to use it is important that that person, "the user", knows what's going on and feels confident using it.

More information

ECDL. European Computer Driving Licence. Spreadsheet Software BCS ITQ Level 2. Syllabus Version 5.0

ECDL. European Computer Driving Licence. Spreadsheet Software BCS ITQ Level 2. Syllabus Version 5.0 European Computer Driving Licence Spreadsheet Software BCS ITQ Level 2 Using Microsoft Excel 2010 Syllabus Version 5.0 This training, which has been approved by BCS, The Chartered Institute for IT, includes

More information

Word 2010: Mail Merge to Email with Attachments

Word 2010: Mail Merge to Email with Attachments Word 2010: Mail Merge to Email with Attachments Table of Contents TO SEE THE SECTION FOR MACROS, YOU MUST TURN ON THE DEVELOPER TAB:... 2 SET REFERENCE IN VISUAL BASIC:... 2 CREATE THE MACRO TO USE WITHIN

More information

Excel 2007 A Beginners Guide

Excel 2007 A Beginners Guide Excel 2007 A Beginners Guide Beginner Introduction The aim of this document is to introduce some basic techniques for using Excel to enter data, perform calculations and produce simple charts based on

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

The first thing to do is choose if you are creating a mail merge for printing or an e-mail merge for distribution over e-mail.

The first thing to do is choose if you are creating a mail merge for printing or an e-mail merge for distribution over e-mail. Create a mail or e-mail merge Use mail or e-mail merge when you want to create a large number of documents that are mostly identical but include some unique information. For example, you can use mail merge

More information

Microsoft Excel Tips & Tricks

Microsoft Excel Tips & Tricks Microsoft Excel Tips & Tricks Collaborative Programs Research & Evaluation TABLE OF CONTENTS Introduction page 2 Useful Functions page 2 Getting Started with Formulas page 2 Nested Formulas page 3 Copying

More information

Introduction to Microsoft Access 2003

Introduction to Microsoft Access 2003 Introduction to Microsoft Access 2003 Zhi Liu School of Information Fall/2006 Introduction and Objectives Microsoft Access 2003 is a powerful, yet easy to learn, relational database application for Microsoft

More information

Microsoft Excel 2013: Macro to apply Custom Margins, Titles, Gridlines, Autofit Width & Add Macro to Quick Access Toolbar & How to Delete a Macro.

Microsoft Excel 2013: Macro to apply Custom Margins, Titles, Gridlines, Autofit Width & Add Macro to Quick Access Toolbar & How to Delete a Macro. Microsoft Excel 2013: Macro to apply Custom Margins, Titles, Gridlines, Autofit Width & Add Macro to Quick Access Toolbar & How to Delete a Macro. Do you need to always add gridlines, bold the heading

More information

Like any function, the UDF can be as simple or as complex as you want. Let's start with an easy one...

Like any function, the UDF can be as simple or as complex as you want. Let's start with an easy one... Building Custom Functions About User Defined Functions Excel provides the user with a large collection of ready-made functions, more than enough to satisfy the average user. Many more can be added by installing

More information

Excel 2007 Basic knowledge

Excel 2007 Basic knowledge Ribbon menu The Ribbon menu system with tabs for various Excel commands. This Ribbon system replaces the traditional menus used with Excel 2003. Above the Ribbon in the upper-left corner is the Microsoft

More information

Excel basics. Before you begin. What you'll learn. Requirements. Estimated time to complete:

Excel basics. Before you begin. What you'll learn. Requirements. Estimated time to complete: Excel basics Excel is a powerful spreadsheet and data analysis application, but to use it most effectively, you first have to understand the basics. This tutorial introduces some of the tasks and features

More information

Create a New Database in Access 2010

Create a New Database in Access 2010 Create a New Database in Access 2010 Table of Contents OVERVIEW... 1 CREATING A DATABASE... 1 ADDING TO A DATABASE... 2 CREATE A DATABASE BY USING A TEMPLATE... 2 CREATE A DATABASE WITHOUT USING A TEMPLATE...

More information

Excel 2003 A Beginners Guide

Excel 2003 A Beginners Guide Excel 2003 A Beginners Guide Beginner Introduction The aim of this document is to introduce some basic techniques for using Excel to enter data, perform calculations and produce simple charts based on

More information

Creating trouble-free numbering in Microsoft Word

Creating trouble-free numbering in Microsoft Word Creating trouble-free numbering in Microsoft Word This note shows you how to create trouble-free chapter, section and paragraph numbering, as well as bulleted and numbered lists that look the way you want

More information

Excel & Visual Basic for Applications (VBA)

Excel & Visual Basic for Applications (VBA) Excel & Visual Basic for Applications (VBA) The VBA Programming Environment Recording Macros Working with the Visual Basic Editor (VBE) 1 Why get involved with this programming business? If you can't program,

More information

SECTION 5: Finalizing Your Workbook

SECTION 5: Finalizing Your Workbook SECTION 5: Finalizing Your Workbook In this section you will learn how to: Protect a workbook Protect a sheet Protect Excel files Unlock cells Use the document inspector Use the compatibility checker Mark

More information

Produced by Flinders University Centre for Educational ICT. PivotTables Excel 2010

Produced by Flinders University Centre for Educational ICT. PivotTables Excel 2010 Produced by Flinders University Centre for Educational ICT PivotTables Excel 2010 CONTENTS Layout... 1 The Ribbon Bar... 2 Minimising the Ribbon Bar... 2 The File Tab... 3 What the Commands and Buttons

More information

Financial Data Access with SQL, Excel & VBA

Financial Data Access with SQL, Excel & VBA Computational Finance and Risk Management Financial Data Access with SQL, Excel & VBA Guy Yollin Instructor, Applied Mathematics University of Washington Guy Yollin (Copyright 2012) Data Access with SQL,

More information

Task Force on Technology / EXCEL

Task Force on Technology / EXCEL Task Force on Technology EXCEL Basic terminology Spreadsheet A spreadsheet is an electronic document that stores various types of data. There are vertical columns and horizontal rows. A cell is where the

More information

Highline Excel 2016 Class 26: Macro Recorder

Highline Excel 2016 Class 26: Macro Recorder Highline Excel 2016 Class 26: Macro Recorder Table of Contents Macro Recorder Examples in this video... 2 1) Absolute Reference Macro: Format report that always has the same number of columns and rows...

More information

Advanced Excel Charts : Tables : Pivots : Macros

Advanced Excel Charts : Tables : Pivots : Macros Advanced Excel Charts : Tables : Pivots : Macros Charts In Excel, charts are a great way to visualize your data. However, it is always good to remember some charts are not meant to display particular types

More information

WHAT S NEW IN MS EXCEL 2013

WHAT S NEW IN MS EXCEL 2013 Contents Excel... 1 Filling empty cells using Flash Fill... 1 Filtering records using a Timeline... 2 Previewing with Quick Analysis... 4 Using Chart Advisor recommendations... 5 Finding errors and issues

More information

Writing Macros in Microsoft Excel 2003

Writing Macros in Microsoft Excel 2003 Writing Macros in Microsoft Excel 2003 Introduction A macro is a series of instructions which can be issued using a single command. The macro can be invoked in various different ways - from the keyboard

More information

warpct.com Working with MS Excel 2003 Workbook courseware by WARP! Computer Training

warpct.com Working with MS Excel 2003 Workbook courseware by WARP! Computer Training warpct.com courseware by WARP! Computer Training Working with MS Excel 2003 Workbook Welcome! Thank you for evaluating a portion of this workbook. If you have any questions or comments regarding our training

More information

Using Microsoft Project 2000

Using Microsoft Project 2000 Using MS Project Personal Computer Fundamentals 1 of 45 Using Microsoft Project 2000 General Conventions All text highlighted in bold refers to menu selections. Examples would be File and Analysis. ALL

More information

Adding Comments in Microsoft Excel 2003

Adding Comments in Microsoft Excel 2003 Adding Comments in Microsoft Excel 2003 Introduction Microsoft Excel has a very useful facility which allows you to add explanatory notes to your worksheet. These can be used, for example, to explain what

More information

EXCEL FINANCIAL USES

EXCEL FINANCIAL USES EXCEL FINANCIAL USES Table of Contents Page LESSON 1: FINANCIAL DOCUMENTS...1 Worksheet Design...1 Selecting a Template...2 Adding Data to a Template...3 Modifying Templates...3 Saving a New Workbook as

More information

What is Microsoft Excel?

What is Microsoft Excel? What is Microsoft Excel? Microsoft Excel is a member of the spreadsheet family of software. Spreadsheets allow you to keep track of data, create charts based from data, and perform complex calculations.

More information

Hands-on Exercise 1: VBA Coding Basics

Hands-on Exercise 1: VBA Coding Basics Hands-on Exercise 1: VBA Coding Basics This exercise introduces the basics of coding in Access VBA. The concepts you will practise in this exercise are essential for successfully completing subsequent

More information

3 What s New in Excel 2007

3 What s New in Excel 2007 3 What s New in Excel 2007 3.1 Overview of Excel 2007 Microsoft Office Excel 2007 is a spreadsheet program that enables you to enter, manipulate, calculate, and chart data. An Excel file is referred to

More information

Microsoft Excel 2007 Consolidate Data & Analyze with Pivot Table Windows XP

Microsoft Excel 2007 Consolidate Data & Analyze with Pivot Table Windows XP Microsoft Excel 2007 Consolidate Data & Analyze with Pivot Table Windows XP Consolidate Data in Multiple Worksheets Example data is saved under Consolidation.xlsx workbook under ProductA through ProductD

More information

Creating a table of contents quickly in Word

Creating a table of contents quickly in Word Creating a table of contents quickly in Word This note shows you how to set up a table of contents that can be generated and updated quickly and easily, even for the longest and most complex documents.

More information

Create Charts in Excel

Create Charts in Excel Create Charts in Excel Table of Contents OVERVIEW OF CHARTING... 1 AVAILABLE CHART TYPES... 2 PIE CHARTS... 2 BAR CHARTS... 3 CREATING CHARTS IN EXCEL... 3 CREATE A CHART... 3 HOW TO CHANGE THE LOCATION

More information

EXAMPLE WITH NO NAME EXAMPLE WITH A NAME

EXAMPLE WITH NO NAME EXAMPLE WITH A NAME By using names, you can make your formulas much easier to understand and maintain. You can define a name for a cell range, function, constant, or table. Once you adopt the practice of using names in your

More information

Q&As: Microsoft Excel 2013: Chapter 2

Q&As: Microsoft Excel 2013: Chapter 2 Q&As: Microsoft Excel 2013: Chapter 2 In Step 5, why did the date that was entered change from 4/5/10 to 4/5/2010? When Excel recognizes that you entered a date in mm/dd/yy format, it automatically formats

More information

Macros in Word & Excel

Macros in Word & Excel Macros in Word & Excel Description: If you perform a task repeatedly in Word or Excel, you can automate the task by using a macro. A macro is a series of steps that is grouped together as a single step

More information

The Center for Teaching, Learning, & Technology

The Center for Teaching, Learning, & Technology The Center for Teaching, Learning, & Technology Instructional Technology Workshops Microsoft Excel 2010 Formulas and Charts Albert Robinson / Delwar Sayeed Faculty and Staff Development Programs Colston

More information

Introduction To Microsoft Office PowerPoint 2007. Bob Booth July 2008 AP-PPT5

Introduction To Microsoft Office PowerPoint 2007. Bob Booth July 2008 AP-PPT5 Introduction To Microsoft Office PowerPoint 2007. Bob Booth July 2008 AP-PPT5 University of Sheffield Contents 1. INTRODUCTION... 3 2. GETTING STARTED... 4 2.1 STARTING POWERPOINT... 4 3. THE USER INTERFACE...

More information

Working together with Word, Excel and PowerPoint 2013

Working together with Word, Excel and PowerPoint 2013 Working together with Word, Excel and PowerPoint 2013 Information Services Working together with Word, Excel and PowerPoint 2013 Have you ever needed to include data from Excel or a slide from PowerPoint

More information

Microsoft Excel 2007 Level 2

Microsoft Excel 2007 Level 2 Information Technology Services Kennesaw State University Microsoft Excel 2007 Level 2 Copyright 2008 KSU Dept. of Information Technology Services This document may be downloaded, printed or copied for

More information

Content Author's Reference and Cookbook

Content Author's Reference and Cookbook Sitecore CMS 6.5 Content Author's Reference and Cookbook Rev. 110621 Sitecore CMS 6.5 Content Author's Reference and Cookbook A Conceptual Overview and Practical Guide to Using Sitecore Table of Contents

More information

paragraph(s). The bottom mark is for all following lines in that paragraph. The rectangle below the marks moves both marks at the same time.

paragraph(s). The bottom mark is for all following lines in that paragraph. The rectangle below the marks moves both marks at the same time. MS Word, Part 3 & 4 Office 2007 Line Numbering Sometimes it can be helpful to have every line numbered. That way, if someone else is reviewing your document they can tell you exactly which lines they have

More information

Excel Reports and Macros

Excel Reports and Macros Excel Reports and Macros Within Microsoft Excel it is possible to create a macro. This is a set of commands that Excel follows to automatically make certain changes to data in a spreadsheet. By adding

More information

Automate tasks with Visual Basic macros

Automate tasks with Visual Basic macros Automate tasks with Visual Basic macros If you're not familiar with macros, don't let the term frighten you. A macro is simply a recorded set of keystrokes and instructions that you can use to automate

More information

Microsoft Excel 2010. Understanding the Basics

Microsoft Excel 2010. Understanding the Basics Microsoft Excel 2010 Understanding the Basics Table of Contents Opening Excel 2010 2 Components of Excel 2 The Ribbon 3 o Contextual Tabs 3 o Dialog Box Launcher 4 o Quick Access Toolbar 4 Key Tips 5 The

More information

Excel Database Management Microsoft Excel 2003

Excel Database Management Microsoft Excel 2003 Excel Database Management Microsoft Reference Guide University Technology Services Computer Training Copyright Notice Copyright 2003 EBook Publishing. All rights reserved. No part of this publication may

More information

Microsoft Excel 2010 Tutorial

Microsoft Excel 2010 Tutorial 1 Microsoft Excel 2010 Tutorial Excel is a spreadsheet program in the Microsoft Office system. You can use Excel to create and format workbooks (a collection of spreadsheets) in order to analyze data and

More information

Excel 2007 - Using Pivot Tables

Excel 2007 - Using Pivot Tables Overview A PivotTable report is an interactive table that allows you to quickly group and summarise information from a data source. You can rearrange (or pivot) the table to display different perspectives

More information

Microsoft Access 2010 Part 1: Introduction to Access

Microsoft Access 2010 Part 1: Introduction to Access CALIFORNIA STATE UNIVERSITY, LOS ANGELES INFORMATION TECHNOLOGY SERVICES Microsoft Access 2010 Part 1: Introduction to Access Fall 2014, Version 1.2 Table of Contents Introduction...3 Starting Access...3

More information

How to test and debug an ASP.NET application

How to test and debug an ASP.NET application Chapter 4 How to test and debug an ASP.NET application 113 4 How to test and debug an ASP.NET application If you ve done much programming, you know that testing and debugging are often the most difficult

More information

Monthly Payroll to Finance Reconciliation Report: Access and Instructions

Monthly Payroll to Finance Reconciliation Report: Access and Instructions Monthly Payroll to Finance Reconciliation Report: Access and Instructions VCU Reporting Center... 2 Log in... 2 Open Folder... 3 Other Useful Information: Copying Sheets... 5 Creating Subtotals... 5 Outlining

More information

Search help. More on Office.com: images templates

Search help. More on Office.com: images templates Page 1 of 14 Access 2010 Home > Access 2010 Help and How-to > Getting started Search help More on Office.com: images templates Access 2010: database tasks Here are some basic database tasks that you can

More information

ITS Training Class Charts and PivotTables Using Excel 2007

ITS Training Class Charts and PivotTables Using Excel 2007 When you have a large amount of data and you need to get summary information and graph it, the PivotTable and PivotChart tools in Microsoft Excel will be the answer. The data does not need to be in one

More information

Merging Labels, Letters, and Envelopes Word 2013

Merging Labels, Letters, and Envelopes Word 2013 Merging Labels, Letters, and Envelopes Word 2013 Merging... 1 Types of Merges... 1 The Merging Process... 2 Labels - A Page of the Same... 2 Labels - A Blank Page... 3 Creating Custom Labels... 3 Merged

More information

To add a data form to excel - you need to have the insert form table active - to make it active and add it to excel do the following:

To add a data form to excel - you need to have the insert form table active - to make it active and add it to excel do the following: Excel Forms A data form provides a convenient way to enter or display one complete row of information in a range or table without scrolling horizontally. You may find that using a data form can make data

More information

Construction Administrators Work Smart with Excel Programming and Functions. OTEC 2014 Session 78 Robert Henry

Construction Administrators Work Smart with Excel Programming and Functions. OTEC 2014 Session 78 Robert Henry Construction Administrators Work Smart with Excel Programming and Functions OTEC 2014 Session 78 Robert Henry Cell References C O P Y Clicking into the Formula Bar or the Active Cell will cause color coded

More information

BIGPOND ONLINE STORAGE USER GUIDE Issue 1.1.0-18 August 2005

BIGPOND ONLINE STORAGE USER GUIDE Issue 1.1.0-18 August 2005 BIGPOND ONLINE STORAGE USER GUIDE Issue 1.1.0-18 August 2005 PLEASE NOTE: The contents of this publication, and any associated documentation provided to you, must not be disclosed to any third party without

More information

How to Create a Spreadsheet With Updating Stock Prices Version 3, February 2015

How to Create a Spreadsheet With Updating Stock Prices Version 3, February 2015 How to Create a Spreadsheet With Updating Stock Prices Version 3, February 2015 by Fred Brack In December 2014, Microsoft made changes to their online portfolio management services, changes widely derided

More information

Microsoft Access Basics

Microsoft Access Basics Microsoft Access Basics 2006 ipic Development Group, LLC Authored by James D Ballotti Microsoft, Access, Excel, Word, and Office are registered trademarks of the Microsoft Corporation Version 1 - Revision

More information

Basic Pivot Tables. To begin your pivot table, choose Data, Pivot Table and Pivot Chart Report. 1 of 18

Basic Pivot Tables. To begin your pivot table, choose Data, Pivot Table and Pivot Chart Report. 1 of 18 Basic Pivot Tables Pivot tables summarize data in a quick and easy way. In your job, you could use pivot tables to summarize actual expenses by fund type by object or total amounts. Make sure you do not

More information

Getting Started with Excel 2008. Table of Contents

Getting Started with Excel 2008. Table of Contents Table of Contents Elements of An Excel Document... 2 Resizing and Hiding Columns and Rows... 3 Using Panes to Create Spreadsheet Headers... 3 Using the AutoFill Command... 4 Using AutoFill for Sequences...

More information

Microsoft Excel 2007. Introduction to Microsoft Excel 2007

Microsoft Excel 2007. Introduction to Microsoft Excel 2007 Microsoft Excel 2007 Introduction to Microsoft Excel 2007 Excel is an electronic spreadsheet to organize your data into rows and columns. One can use it to perform basic to advanced level mathematical

More information

Creating tables of contents and figures in Word 2013

Creating tables of contents and figures in Word 2013 Creating tables of contents and figures in Word 2013 Information Services Creating tables of contents and figures in Word 2013 This note shows you how to create a table of contents or a table of figures

More information

Introduction to Microsoft Excel 2010

Introduction to Microsoft Excel 2010 Introduction to Microsoft Excel 2010 Screen Elements Quick Access Toolbar The Ribbon Formula Bar Expand Formula Bar Button File Menu Vertical Scroll Worksheet Navigation Tabs Horizontal Scroll Bar Zoom

More information

Excel Formatting: Best Practices in Financial Models

Excel Formatting: Best Practices in Financial Models Excel Formatting: Best Practices in Financial Models Properly formatting your Excel models is important because it makes it easier for others to read and understand your analysis and for you to read and

More information

How to Make the Most of Excel Spreadsheets

How to Make the Most of Excel Spreadsheets How to Make the Most of Excel Spreadsheets Analyzing data is often easier when it s in an Excel spreadsheet rather than a PDF for example, you can filter to view just a particular grade, sort to view which

More information

Statgraphics Getting started

Statgraphics Getting started Statgraphics Getting started The aim of this exercise is to introduce you to some of the basic features of the Statgraphics software. Starting Statgraphics 1. Log in to your PC, using the usual procedure

More information

Introduction. Syntax Statements. Colon : Line Continuation _ Conditions. If Then Else End If 1. block form syntax 2. One-Line syntax. Do...

Introduction. Syntax Statements. Colon : Line Continuation _ Conditions. If Then Else End If 1. block form syntax 2. One-Line syntax. Do... 3 Syntax Introduction Syntax Statements Colon : Line Continuation _ Conditions If Then Else End If 1. block form syntax 2. One-Line syntax Select Case Case Case Else End Select Do...Loop For...Next While...Wend

More information

Microsoft Excel 2013 Sorting, Subtotals and Outlines (Level 3)

Microsoft Excel 2013 Sorting, Subtotals and Outlines (Level 3) IT Training Microsoft Excel 2013 Sorting, Subtotals and Outlines (Level 3) Contents Introduction...1 Sorting Data in Excel...1 Sorting Selected Data... 2 Advanced Sorts... 2 Further Sort Options... 3 Sorting

More information

A Quick Tour of F9 1

A Quick Tour of F9 1 A Quick Tour of F9 1 Table of Contents I. A Quick Tour of F9... 3 1. Getting Started... 3 2. Quick Trial Balance... 7 3. A More Dynamic Table Report... 10 II. The Fundamental F9 Formula... 14 The GL Formula...

More information

This activity will guide you to create formulas and use some of the built-in math functions in EXCEL.

This activity will guide you to create formulas and use some of the built-in math functions in EXCEL. Purpose: This activity will guide you to create formulas and use some of the built-in math functions in EXCEL. The three goals of the spreadsheet are: Given a triangle with two out of three angles known,

More information

Microsoft Word 2011: Create a Table of Contents

Microsoft Word 2011: Create a Table of Contents Microsoft Word 2011: Create a Table of Contents Creating a Table of Contents for a document can be updated quickly any time you need to add or remove details for it will update page numbers for you. A

More information

Using the Advanced Tier Data Collection Tool. A Troubleshooting Guide

Using the Advanced Tier Data Collection Tool. A Troubleshooting Guide Using the Advanced Tier Data Collection Tool A Troubleshooting Guide Table of Contents Mouse Click the heading to jump to the page Enable Content/ Macros... 4 Add a new student... 6 Data Entry Screen...

More information

Excel 2013 - Using Pivot Tables

Excel 2013 - Using Pivot Tables Overview A PivotTable report is an interactive table that allows you to quickly group and summarise information from a data source. You can rearrange (or pivot) the table to display different perspectives

More information

ECDL. European Computer Driving Licence. Database Software BCS ITQ Level 1. Syllabus Version 1.0

ECDL. European Computer Driving Licence. Database Software BCS ITQ Level 1. Syllabus Version 1.0 ECDL European Computer Driving Licence Database Software BCS ITQ Level 1 Using Microsoft Access 2013 Syllabus Version 1.0 This training, which has been approved by BCS, includes exercise items intended

More information

Pivot Tables & Pivot Charts

Pivot Tables & Pivot Charts Pivot Tables & Pivot Charts Pivot tables... 2 Creating pivot table using the wizard...2 The pivot table toolbar...5 Analysing data in a pivot table...5 Pivot Charts... 6 Creating a pivot chart using the

More information

Microsoft Access 2010

Microsoft Access 2010 IT Training Microsoft Access 2010 Jane Barrett, IT Training & Engagement Team Information System Services Version 3.0 Scope Learning outcomes Learn how to navigate around Access. Learn how to design and

More information

To launch the Microsoft Excel program, locate the Microsoft Excel icon, and double click.

To launch the Microsoft Excel program, locate the Microsoft Excel icon, and double click. EDIT202 Spreadsheet Lab Assignment Guidelines Getting Started 1. For this lab you will modify a sample spreadsheet file named Starter- Spreadsheet.xls which is available for download from the Spreadsheet

More information

Final Exam Review: VBA

Final Exam Review: VBA Engineering Fundamentals ENG1100 - Session 14B Final Exam Review: VBA 1 //coe/dfs/home/engclasses/eng1101/f03/ethics/en1.e05.finalcoursewrapup.sxi Final Programming Exam Topics Flowcharts Assigning Variables

More information

Exercise 4 Learning Python language fundamentals

Exercise 4 Learning Python language fundamentals Exercise 4 Learning Python language fundamentals Work with numbers Python can be used as a powerful calculator. Practicing math calculations in Python will help you not only perform these tasks, but also

More information

Microsoft Excel 2010 Charts and Graphs

Microsoft Excel 2010 Charts and Graphs Microsoft Excel 2010 Charts and Graphs Email: training@health.ufl.edu Web Page: http://training.health.ufl.edu Microsoft Excel 2010: Charts and Graphs 2.0 hours Topics include data groupings; creating

More information

Excel -- Creating Charts

Excel -- Creating Charts Excel -- Creating Charts The saying goes, A picture is worth a thousand words, and so true. Professional looking charts give visual enhancement to your statistics, fiscal reports or presentation. Excel

More information

EXCEL Tutorial: How to use EXCEL for Graphs and Calculations.

EXCEL Tutorial: How to use EXCEL for Graphs and Calculations. EXCEL Tutorial: How to use EXCEL for Graphs and Calculations. Excel is powerful tool and can make your life easier if you are proficient in using it. You will need to use Excel to complete most of your

More information

Microsoft Excel 2013 Tutorial

Microsoft Excel 2013 Tutorial Microsoft Excel 2013 Tutorial TABLE OF CONTENTS 1. Getting Started Pg. 3 2. Creating A New Document Pg. 3 3. Saving Your Document Pg. 4 4. Toolbars Pg. 4 5. Formatting Pg. 6 Working With Cells Pg. 6 Changing

More information

EXCEL PIVOT TABLE David Geffen School of Medicine, UCLA Dean s Office Oct 2002

EXCEL PIVOT TABLE David Geffen School of Medicine, UCLA Dean s Office Oct 2002 EXCEL PIVOT TABLE David Geffen School of Medicine, UCLA Dean s Office Oct 2002 Table of Contents Part I Creating a Pivot Table Excel Database......3 What is a Pivot Table...... 3 Creating Pivot Tables

More information

In-Depth Guide Advanced Spreadsheet Techniques

In-Depth Guide Advanced Spreadsheet Techniques In-Depth Guide Advanced Spreadsheet Techniques Learning Objectives By reading and completing the activities in this chapter, you will be able to: Create PivotTables using Microsoft Excel Create scenarios

More information

Microsoft Excel Basics

Microsoft Excel Basics COMMUNITY TECHNICAL SUPPORT Microsoft Excel Basics Introduction to Excel Click on the program icon in Launcher or the Microsoft Office Shortcut Bar. A worksheet is a grid, made up of columns, which are

More information

SPREADSHEETS. TIP! Whenever you get some new data, save it under a new name! Then if you mess things up, you can always go back to the original.

SPREADSHEETS. TIP! Whenever you get some new data, save it under a new name! Then if you mess things up, you can always go back to the original. SPREADSHEETS Spreadsheets are great tools for sorting, filtering and running calculations on tables of data. Journalists who know the basics can interview data to find stories and trends that others may

More information

Intro to Excel spreadsheets

Intro to Excel spreadsheets Intro to Excel spreadsheets What are the objectives of this document? The objectives of document are: 1. Familiarize you with what a spreadsheet is, how it works, and what its capabilities are; 2. Using

More information