Generating a Web Page

Creating a new Web page from an existing workbook is very easy in Excel. All you need to do is load and display the information you want used as your source material and then click F12 to display the Save As dialog box. Make sure you then change the Save As Type drop-down in the Save As dialog box to Web Page. (See Figure 1.)

Figure 1. The Save As dialog box.

If you have used Excel for a while, you probably noticed right away that there are some differences between this incarnation of the Save As dialog box and the normal one used for saving information to a new workbook file. In this case, Excel includes additional controls that allow you to specify how it should create your Web page.

Using the controls in the Save As dialog box to indicate a file name and directory should be pretty straight-forward. You need to indicate in the middle of the dialog box what you want saved in your Web page, however. You can specify to save either the entire workbook or you can save the worksheets you selected before displaying the Save As dialog box.

In addition, if you choose to save just a worksheet, you can specify that the output be made interactive. This means that others who access the Web page can utilize the information in much the same way as they could with a native Excel file, provided they have a compatible version of Excel on their system.

Notice, as well, that you can specify a page title for your Web page. The page title is displayed by a browser at the top of the page, in the title bar. To change the page title, click your mouse on the Change Title button.

When you are ready to save your Web page, simply click on the Save button. Excel generates the HTML output file according to your specifications. You can then place the generated Web page file on a Web server for all the world to see.

People viewing your page don’t need to have Excel; they just need to have a standard Web browser. Exactly how your information is displayed may differ from one browser to another. Standards within the Web leave it up to browser to determine how characteristics are displayed. Thus, one browser may display columns or fonts or bold text a bit differently than is done in a different browser. It is impossible for Excel to anticipate and overcome these differences.