How to Display XLS in HTML
An XLS file, which is a file extension associated with Microsoft Excel, is not designed for display within an HTML file in its standard format and cannot be viewed in its pure form on any webpage. However, you can display information contained in the XLS file in your HTML document by using different techniques.
Instructions
-
Postscript Option
-
1
Install a postscript printer to your computer---a free one is available from the Adobe website (see Resources.)
-
2
Open the Excel file and click Ctrl+P to open the print dialog box. Select the postscript printer from your list of printers.
-
-
3
Click "Print" to produce the postscript file (.PS file extension) containing the information from your XLS file. You can then load the postscript file in an image-editing program that can open postscript documents (like Adobe Photoshop) and save it as a JPEG, GIF, or PNG file. Add the image in an HTML tag within your HTML document (for example, <img src=xlsfile.jpg>.)
Screenshot
-
4
Load your XLS file in Excel and adjust the view so that you can see everything on the page as it will appear on your web page.
-
5
Click Ctrl+Prnt Scrn on your keyboard to take a screen shot of the XLS file.
-
6
Open an image-editing program and press Ctrl+V to paste the screen shot into the workspace. Crop the edges of the image to your liking and save it as a JPEG, PNG or GIF file that you can add to your HTML document using an <img> tag.
Microsoft PowerPoint
-
7
Select the information in your XLS file that you want to appear on your web page with your mouse. Click Ctrl+C to copy the data to your computer clipboard.
-
8
Load Microsoft PowerPoint, a "sister" program to Excel that usually comes packaged with Microsoft Office. Press Ctrl+V to paste the data from your XLS file to the PowerPoint slide.
-
9
Navigate to "File," and then "Save As" on the PowerPoint main menu. Select JPEG, GIF or PNG from the "Save as type" drop down list to save the document as an image file that you can add to your HTML document.
-
1