+ All Categories
Home > Education > Exp2003 exl ppt_02-continued

Exp2003 exl ppt_02-continued

Date post: 18-Dec-2014
Category:
Upload: lonetree
View: 322 times
Download: 2 times
Share this document with a friend
Description:
FOr student in Inf103
Popular Tags:
24
Exploring Office 2003 - Grauer and Barber 1 Committed to Shaping the Next Generation of IT Experts. Chapter 2 – Gaining Proficiency: The Web and Business Applications Robert Grauer and Maryann Barber Exploring Microsoft Excel 2003
Transcript
Page 1: Exp2003 exl ppt_02-continued

Exploring Office 2003 - Grauer and Barber 1Committed to Shaping the Next Generation of IT Experts.

Chapter 2 – Gaining Proficiency: The Web and

Business ApplicationsRobert Grauer and Maryann Barber

Exploring Microsoft Excel 2003

Page 2: Exp2003 exl ppt_02-continued

Exploring Office 2003 - Grauer and Barber 2

Objectives

Insert a hyperlink into an Excel worksheet Save a worksheet as a Web page and then

view the page in a Web browser Import data from a web query into a

workbook; refresh the query to obtain current information

Describe the Today() function and its use in date arithmetic

Page 3: Exp2003 exl ppt_02-continued

Exploring Office 2003 - Grauer and Barber 3

Excel and the Internet

Insert a hyperlink into a worksheet Hyperlink: a reference to another document

Save a workbook as a Web page A “web page” is another name for an HTML

document Download information from the Web through

a Web query

Page 4: Exp2003 exl ppt_02-continued

Exploring Office 2003 - Grauer and Barber 4

Excel and the Internet

Take a few minutes and open up: Input file: Stock Portfolio Output file: Stock Portfolio Solution

Page 5: Exp2003 exl ppt_02-continued

Exploring Office 2003 - Grauer and Barber 5

A Web Page

Page is viewed through a Web browser

Clicking the hyperlink will take you to the designated Web site

Page 6: Exp2003 exl ppt_02-continued

Exploring Office 2003 - Grauer and Barber 6

Inserting a Hyperlink

Select the cell that will contain the hyperlink

If the cell is blank, type the hyperlink text in the Text to Display box

Enter the Web address (URL) of the site you wish to open

Page 7: Exp2003 exl ppt_02-continued

Exploring Office 2003 - Grauer and Barber 7

The Save As Web Page Command

Enter the name for your Web page

By default, the Single File Web Page format is selected.

Page 8: Exp2003 exl ppt_02-continued

Exploring Office 2003 - Grauer and Barber 8

Excel and the Internet

Insert after Total in A13 The last hyperlink

www.prenhall.com/grauer

Page 9: Exp2003 exl ppt_02-continued

Exploring Office 2003 - Grauer and Barber 9

Some Internet Terms

HTML (HyperText Markup Language): a standard language for creating Web pages

Round trip HTML: allows you to edit a web page in the application that created it An Excel document can be saved as a Web

page, then edited in Excel. Single File Web Page: all elements of a

Web page are saved as a single file.

Page 10: Exp2003 exl ppt_02-continued

Exploring Office 2003 - Grauer and Barber 10

New

The Single File Web Page is new to Excel 2003. Prior versions of Microsoft Office allowed you to save

documents as Web pages, but stored the documents as an html file with folders containing the elements of the page. When you uploaded the Web pages to your Web server, you had to upload the folders with the elements or the page did not function properly.

This feature will make saving documents as Web pages much easier, but it will also give the Web developer less flexibility in editing the document after it has been

posted.

Page 11: Exp2003 exl ppt_02-continued

Exploring Office 2003 - Grauer and Barber 11

Round-Trip HTML

Edit with Microsoft Excel button lets you start Excel and edit the worksheet

Page 12: Exp2003 exl ppt_02-continued

Exploring Office 2003 - Grauer and Barber 12

Round-Trip HTML

Clicking the Edit with Microsoft Excel button allows you to start Excel to edit the worksheet. You will then be back in Excel. Any changes must be saved. Students will not see the changes in their browser until they click the Refresh button, which will retrieve the most current version of the document from the server.

Page 13: Exp2003 exl ppt_02-continued

Exploring Office 2003 - Grauer and Barber 13

Selecting a Non-Contiguous Range

Drag through cells to select destination range

Hold the Ctrl key, then select additional cells

Page 14: Exp2003 exl ppt_02-continued

Exploring Office 2003 - Grauer and Barber 14

Non-Contiguous Range

Users can use the Ctrl key to select non-contiguous cells.

This is a very handy feature when the worksheet is irregularly shaped or when you don’t want to copy a formula to an otherwise empty row. In this case, we did not want the formula in rows 10 or 13.

Page 15: Exp2003 exl ppt_02-continued

Exploring Office 2003 - Grauer and Barber 15

Conditional FormattingUse this dialog to set criteria, in this case <0

Select cells to apply conditional formatting

Click Format button to open Format Cells dialog

Page 16: Exp2003 exl ppt_02-continued

Exploring Office 2003 - Grauer and Barber 16

Web Queries

Allows Excel to retrieve information from the Web Requires an active Internet connection

Created with the Import External Data command

Can be updated anytime with the Refresh command

Page 17: Exp2003 exl ppt_02-continued

Exploring Office 2003 - Grauer and Barber 17

Web Queries

The Web query is most often associated with a database management system.

An Excel Web query is very similar, but instead of using SQL and a relational database, you use the Web as your database.

Excel allows you to specify the data source and the criteria that must be met.

As with a database query, the information displayed by the query can be updated without recreating the query.

Page 18: Exp2003 exl ppt_02-continued

Exploring Office 2003 - Grauer and Barber 18

Web Queries

Results of the query are displayed here. Clicking a hyperlink takes you to that company’s Web site

Stock ticker symbols of the companies in the portfolio

Formulas in cells refer to the values in the Web query

Page 19: Exp2003 exl ppt_02-continued

Exploring Office 2003 - Grauer and Barber 19

Web Queries

The criteria you specify must match the criteria in the Web data source. Otherwise, the query will not return the correct values.

When creating a new Web query, you may need to go to the Web site a few times to see how the data is listed.

Page 20: Exp2003 exl ppt_02-continued

Exploring Office 2003 - Grauer and Barber 20

Creating a Web Query

Enter cells containing the criteria for your web query, in this case, A5:A10

Page 21: Exp2003 exl ppt_02-continued

Exploring Office 2003 - Grauer and Barber 21

Web Queries

Queries are not automatically updated every time you open the worksheet. Instead, they will display the last saved values. To update, you need to use the Refresh command. This command will retrieve the latest data from the Web, using the criteria you have already provided.

Page 22: Exp2003 exl ppt_02-continued

Exploring Office 2003 - Grauer and Barber 22

Refreshing the QueryContext-sensitive menu appears when you right-click in the query area

Refresh External Data command retrieves the latest data from the Web

External Data toolbar

Page 23: Exp2003 exl ppt_02-continued

Exploring Office 2003 - Grauer and Barber 23

Date Arithmetic

Excel stores all dates as integers Serial numbers, beginning with January 1, 1900 The difference between dates is determined by

subtracting one number from another Today() function always returns the current

date We can subtract dates and then divide by

365 to get years

Page 24: Exp2003 exl ppt_02-continued

Exploring Office 2003 - Grauer and Barber 24

Hands-on Exercise 3

Title of Exercise: Web Queries Objective: Include a Web query into a

worksheet to retrieve current stock prices from the Internet. Use the Today() function to illustrate the use of data arithmetic Input file: Stock Portfolio Output file: Stock Portfolio Solution Pages 369-374


Recommended