Before you can insert Excel data into your Web site, you have to prepare your Excel spreadsheet. FrontPage uses database connections to access external data. When you create a database connection, you specify the data source that contains the data (such as a Microsoft Access database file or a Microsoft SQL Server) and a record source, usually the name of a table in the data source.
For more information on database connections in FrontPage, see "Creating a Database Connection," p. 706. An Excel spreadsheet doesn't have tables in it. Therefore, there is nothing in the file that you can point to as a record source. Before you can use your Excel spreadsheet in FrontPage, you must create a named range in Excel. A named range is simply a section of a spreadsheet to which a name is applied. Once you've defined a named range in your spreadsheet, FrontPage will see the named range as a record source and will allow you to access the data in the named range. To create a named range in your Excel spreadsheet, follow these steps:
You now have a named range that FrontPage can use as the record source when you are inserting data from this spreadsheet into your Web pages. The named range contains all the data in the spreadsheet except for the bottom row. The bottom row is not included because it's a total row. It shows a total for all the data rows, but it's not really data itself. However, if you choose to include it, you can. |