How to Insert a Microsoft Excel File Into a Web Page With HTML Code
Microsoft's Excel is a spreadsheet application that allows you to organize tabular data. As you create these data sources, consider adding this information directly to a related Web page. This way, you do not have to double your work by recreating a HyperText Markup Language (HTML) file with the same content. Fortunately, Excel provides a menu that automatically creates a page ready for website publication. Use the menus on your Excel application, along with a few lines of HTML code, to insert your spreadsheet into the Web page of your choice.
Launch your Microsoft Excel application and select the "Open" option under the "File" menu to bring up your spreadsheet.
Click the "File" menu and select the "Save" or "Save As" option in the drop-down menu. Choose a Web page format, such as "HTM" or "HTML," under the "Format" menu and click the "Publish" button. This task creates a Web page out of your Excel file so that your spreadsheet displays on your website.
Place the Excel "HTM" or "HTML" file on your Web host. Log in to your hosting account, access the "Control Panel" feature and click the "Public_HTML" or "Public_WWW" link to get to the directory that contains your other website files. Click the "Browse" or "Upload" button and then follow the prompts to select the Excel file and add it to your host. Make a note of the URL location of your Excel file.
Bring up your text editor application and launch the Web page that you want to add the Excel file to. Place your cursor in the area where you want the spreadsheet to appear.
Type the HTML "iframe" code that loads your spreadsheet on your page. Enter "
Enter "" paragraph tags, type "" in between them and enter your Excel URL between the quotation marks. Type in any desired text, such as "Click here to access the Excel file," and follow this with a closing "" element. To illustrate:
Save your document. Your Excel file now appears directly on your Web page.