Please Note: This article is written for users of the following Microsoft Excel versions: 2007 and 2010. If you are using an earlier version (Excel 2003 or earlier), this tip may not work for you. For a version of this tip written specifically for earlier versions of Excel, click here: Adding Excel Information to a Web Page.

Adding Excel Information to a Web Page

Written by Allen Wyatt (last updated July 2, 2025)
This tip applies to Excel 2007 and 2010


When you are creating Web output in Excel, you are not limited to creating entire Web pages. Indeed, you can add your Excel-generated HTML output to an existing Web page, if desired. To add to an existing Web page you use much the same process that you follow in creating a Web page from scratch. The difference is that you will need to select the cell range you want added to an existing Web page; this is the key that tips off Excel as to what you are doing. You can follow these general steps:

  1. Load the workbook you want to use.
  2. Select the cell range you want added to an existing Web page.
  3. Display the Save As dialog box and make sure the Save As Type drop-down is set to Web Page.
  4. Make sure you choose the Selection radio button in the middle of the dialog box. (See Figure 1.)
  5. Figure 1. The Save As dialog box.

  6. Specify any other settings, as desired.
  7. Click on the Save button. Excel recognizes you are about to overwrite an existing Web page with only a limited number of cells and displays a dialog box to that effect.
  8. Click on the Add To File button.

ExcelTips is your source for cost-effective Microsoft Excel training. This tip (197) applies to Microsoft Excel 2007 and 2010. You can find a version of this tip for the older menu interface of Excel here: Adding Excel Information to a Web Page.

Author Bio

Allen Wyatt

With more than 50 non-fiction books and numerous magazine articles to his credit, Allen Wyatt is an internationally recognized author. He is president of Sharon Parq Associates, a computer and publishing services company. ...

MORE FROM ALLEN

Checking if a Workbook is Already Open

Knowing of a workbook is already open can be a prerequisite to your macro working correctly. Here's how to check it out.

Discover More

Resetting Default Character Formatting

If you need to remove any explicit character formatting from some text, you'll want to commit the shortcut in this tip to ...

Discover More

Document Shows as 'In Use' by Another User

Word tries to constantly track who is using various documents, in order to prevent two users from clashing in their edits ...

Discover More

Dive Deep into Macros! Make Excel do things you thought were impossible, discover techniques you won't find anywhere else, and create powerful automated reports. Bill Jelen and Tracy Syrstad help you instantly visualize information to make it actionable. You’ll find step-by-step instructions, real-world case studies, and 50 workbooks packed with examples and solutions. Check out Microsoft Excel 2019 VBA and Macros today!

More ExcelTips (ribbon)

Extracting URLs from Hyperlinked Images

When copying information from the Internet to an Excel workbook, you may want to get rid of graphics but keep any ...

Discover More

Special Characters In Hyperlinks

Do you use special characters (such as the pound sign) in your worksheet names? If so, you could run into problems ...

Discover More

Get Rid of Web Stuff

When you copy information from a Web page and paste it into a worksheet, you can end up with more than you bargained for. ...

Discover More
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

View most recent newsletter.

Comments

If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] (all 7 characters, in the sequence shown) in your comment text. You’ll be prompted to upload your image when you submit the comment. Maximum image size is 6Mpixels. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is one more than 2?

There are currently no comments for this tip. (Be the first to leave your comment—just use the simple form above!)


This Site

Got a version of Excel that uses the ribbon interface (Excel 2007 or later)? This site is for you! If you use an earlier version of Excel, visit our ExcelTips site focusing on the menu interface.

Newest Tips
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

(Your e-mail address is not shared with anyone, ever.)

View the most recent newsletter.