18.11.2014 Views

Microsoft Office

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Part IV<br />

Using Advanced Excel Features<br />

Understanding the Different Web Formats<br />

When you save an Excel workbook for viewing on the Web, you have two options:<br />

n<br />

n<br />

An HTML file: Produces a static Web page, plus a folder that contains support files. You can create<br />

the HTML file from the entire workbook or from a specific sheet.<br />

A single file Web page: Produces a file in the Web archive format (*.mht; *.mhtml). You can<br />

view these files only with <strong>Microsoft</strong>’s Internet Explorer browser.<br />

Previous versions of Excel included an additional option to create an interactive Web page,<br />

using the <strong>Microsoft</strong> ActiveX Spreadsheet Component. Users could perform standard Excel<br />

operations directly in the browser. This feature was removed from Excel 2007.<br />

NOTE<br />

These options are described in the following sections. Both examples use a simple two-sheet workbook file.<br />

Each sheet has a table and a chart. Figure 28.1 shows one of these worksheets.<br />

FIGURE 28. 1<br />

This workbook will be saved in Excel’s Web formats.<br />

ON the CD-ROM<br />

This workbook, named webpage.xlsx, is available on the companion CD-ROM.<br />

Creating an HTML file<br />

To save a workbook as an HTML file, choose <strong>Office</strong> ➪ Save As. In the Save As dialog box, select Web Page<br />

(*.htm; *.html) from the Save As Type drop-down list and specify the Entire Workbook option. Name<br />

this file webpage1.htm. Click Save to create the HTML file.<br />

Figure 28.2 shows how Sheet1 of the file looks in a browser. Notice that the workbook’s sheet tabs appear<br />

along the bottom, and you can switch sheets just as you do in Excel.<br />

514

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!